From 83ab8f7648cef184b1b1aabe72b29dad350ec13f Mon Sep 17 00:00:00 2001 From: luchenqun Date: Tue, 11 Jun 2019 17:22:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=9B=BA=E5=AE=9A=E7=9A=84?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/db.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/database/db.js b/database/db.js index 2c174bb..929ac47 100644 --- a/database/db.js +++ b/database/db.js @@ -6,16 +6,6 @@ try { 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); Date.prototype.format = function(fmt) { //author: meizz