mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 14:38:50 +00:00
Implemented the ability to change the port.
This commit is contained in:
1 file changed
+1
@@ -4,6 +4,7 @@ import { parseTypes } from './parser';
|
||||
|
||||
export const pool = createPool({
|
||||
host: config.hosts[0].host || 'localhost',
|
||||
port: config.hosts[0].port || 3306,
|
||||
user: config.username || 'root',
|
||||
password: config.password || '',
|
||||
database: config.endpoint || 'es_extended',
|
||||
|
||||
Reference in new issue
Block a user