Changed db connection to server db connection
This commit is contained in:
+3
-3
@@ -8,10 +8,10 @@ const state = {
|
|||||||
exports.connect = function(done){
|
exports.connect = function(done){
|
||||||
state.pool = mysql.createPool({
|
state.pool = mysql.createPool({
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
user: 'root',
|
user: 'admin_seng440',
|
||||||
password: 'root',
|
password: 'seng440',
|
||||||
port: 3306,
|
port: 3306,
|
||||||
database: "territory-walker",
|
database: "admin_territory-walker",
|
||||||
//multipleStatements: true
|
//multipleStatements: true
|
||||||
});
|
});
|
||||||
done();
|
done();
|
||||||
|
|||||||
Reference in New Issue
Block a user