Browse Source

1

Signed-off-by: lcw <1324309909@qq.com>
lcw 3 years ago
parent
commit
0f1ce29801
1 changed files with 2 additions and 2 deletions
  1. 2 2
      mysql.js

+ 2 - 2
mysql.js

@@ -14,8 +14,8 @@ us.mysqlconnection = function (host, database) {
             user: "root", //用户名
             password: "cocorobo", //密码
             database: database, //数据库名称
-            port: 20007 //端口
-            // port: 3306 //端口
+            // port: 20007 //端口
+            port: 3306 //端口
         }); //连接超时和错误从连
     }
     //connectionLimit: 1000,