update
This commit is contained in:
+3
-1
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user