去掉固定的配置
This commit is contained in:
parent
3a37993ce1
commit
83ab8f7648
|
|
@ -6,16 +6,6 @@ try {
|
||||||
dbConfig = require('../config.default.js').dbConfig;
|
dbConfig = require('../config.default.js').dbConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
var dbConfig = {
|
|
||||||
host: '127.0.0.1',
|
|
||||||
user: 'test', // mysql的账号
|
|
||||||
password: '123456', // mysql 的密码
|
|
||||||
database: 'mybookmarks',
|
|
||||||
multipleStatements: true,
|
|
||||||
useConnectionPooling: true,
|
|
||||||
port: 3306
|
|
||||||
};
|
|
||||||
|
|
||||||
var client = mysql.createConnection(dbConfig);
|
var client = mysql.createConnection(dbConfig);
|
||||||
|
|
||||||
Date.prototype.format = function(fmt) { //author: meizz
|
Date.prototype.format = function(fmt) { //author: meizz
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue