Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var mysql = require('mysql');
- var con = mysql.createConnection({
- host: "smart-dem.me",
- port: 3307,
- user: "username",
- password: "password"
- });
- con.connect(function(err) {
- if (err) throw err;
- console.log("Connected!");
- });
Add Comment
Please, Sign In to add comment