Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var con = mysql.createConnection({
- host: "localhost",
- user: "root",
- password: "my password",
- database: "mydatabase"
- });
- con.connect(function(err) {
- if (err) throw err;
- console.log("Connected!");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement