Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- host : 'localhost',
- user : 'root',
- port : '3306',
- password : 'root',
- database : 'test'
- if(!err) {
- console.log("database is connected"+database);
- } else {
- console.log("database is not connected"+err.message);
- }
Add Comment
Please, Sign In to add comment