This commit is contained in:
Jay
2017-03-23 16:42:12 +08:00
parent 7255b3fdd2
commit 33872d0f92
4 changed files with 52 additions and 153198 deletions
+3 -1
View File
@@ -7,6 +7,7 @@ class database {
this._host = '';
this._port = 3306;
this._database = '';
this._socketPath = '/var/lib/mysql/mysql.sock'
this._con = null;
this.autoclose = false;
}
@@ -18,7 +19,8 @@ class database {
password: this._password,
host: this._host,
database: this._database,
port: this._port
port: this._port,
socketPath: this._socketPath
});
}