lsc 1 년 전
부모
커밋
00ffa607fd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mysql.js

+ 1 - 1
mysql.js

@@ -7,7 +7,7 @@ var us = {
 //连接数据库
 us.mysqlconnection = function(host, database) {
     if (!us.sqle[host] || !us.sqle[host][database]) { //配置数据库连接 
-        let port = host == '172.16.12.7' ? 20330 : 3306;
+        let port = host == '172.16.12.7' ? 3306 : 3306;
         // let port = host == '123.58.32.152' ? 20330 : 20007;
         us.sqle[host] = us.sqle[host] || {};
         us.sqle[host][database] = us.mysql.createPool({