Browse Source

yym本地

yuanyiming 2 years ago
parent
commit
479b284f8a
2 changed files with 2 additions and 0 deletions
  1. 1 0
      mysql.js
  2. 1 0
      ssti.js

+ 1 - 0
mysql.js

@@ -13,6 +13,7 @@ us.mysqlconnection = function(host, database) {
             host: host, //数据库地址
             user: "root", //用户名
             password: "222333888", //密码
+            // password: "662675", //密码
             database: database, //数据库名称
             // port: 20007 //端口
         }); //连接超时和错误从连

+ 1 - 0
ssti.js

@@ -6,6 +6,7 @@ var router = express.Router(); // get an instance of the express Router
 const querystring = require('querystring');
 var mysql = require('./mysql');
 const _mysqlLabor = ["10.3.16.226", "ssti_cm"]; //本地双创數據庫信息
+// const _mysqlLabor = ["127.0.0.1", "ssti_cm"]; //本地双创數據庫信息
 // const _mysqlLabor = ["172.16.12.5", "pbl"]; //双创數據庫信息
 var crypto = require('crypto');
 var https = require('https');