root 2 years ago
parent
commit
8916d7d48c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/mysql.js

+ 1 - 1
node/mysql.js

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