badmfck-api-server 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -48,7 +48,7 @@ class MysqlService extends BaseService_1.BaseService {
|
|
48
48
|
}
|
49
49
|
async recreatePool() {
|
50
50
|
if (this.options.onLog)
|
51
|
-
this.options.onLog(
|
51
|
+
this.options.onLog(1, "Mysql server trying to create pool");
|
52
52
|
this.serviceStarted = false;
|
53
53
|
const ok = await this.createPool();
|
54
54
|
if (!ok) {
|
@@ -256,7 +256,7 @@ class MysqlService extends BaseService_1.BaseService {
|
|
256
256
|
}
|
257
257
|
async createPool() {
|
258
258
|
if (this.options.onLog)
|
259
|
-
this.options.onLog(1, "Connecting to mysql: \n HOST: " + this.options.host + '\n
|
259
|
+
this.options.onLog(1, "Connecting to mysql: \n HOST: " + this.options.host + '\n PORT:' + this.options.port);
|
260
260
|
let err = false;
|
261
261
|
if (this.pool) {
|
262
262
|
try {
|