Akhidjon

tring to connect mysql to server

Showing 1 changed file with 2 additions and 2 deletions
...@@ -77,9 +77,9 @@ app.use(express.static(path.join(__dirname, 'public'))); ...@@ -77,9 +77,9 @@ app.use(express.static(path.join(__dirname, 'public')));
77 connection = mysql.createConnection({ 77 connection = mysql.createConnection({
78 host : 'localhost', 78 host : 'localhost',
79 user : 'root', 79 user : 'root',
80 - password : '', 80 + password : 'password',
81 port : 3306, 81 port : 3306,
82 - database : 'test' 82 + database : 'ytmt'
83 }); 83 });
84 84
85 // 85 //
......