Add aliases for some properties
This commit is contained in:
parent
a06f4e5289
commit
dfa995eb17
|
@ -22,9 +22,9 @@ exports.initialize = function initializeDataSource(dataSource, callback) {
|
|||
s.timezone = (s.timezone || 'local');
|
||||
|
||||
dataSource.client = mysql.createConnection({
|
||||
host: s.host || 'localhost',
|
||||
host: s.host || s.hostname || 'localhost',
|
||||
port: s.port || 3306,
|
||||
user: s.username,
|
||||
user: s.username || s.user,
|
||||
password: s.password,
|
||||
timezone: s.timezone,
|
||||
debug: s.debug,
|
||||
|
|
Loading…
Reference in New Issue