Fixing a connection pool config to allow multiple statements per query
This commit is contained in:
1 parent
ed67193761
commit
bdb9d4b807
1 file changed
+2
-1
@@ -10,7 +10,8 @@ async function buildPool() {
|
||||
user: mysql_username,
|
||||
password: mysql_password,
|
||||
database: mysql_db_name,
|
||||
connectionLimit: 10
|
||||
connectionLimit: 10,
|
||||
multipleStatements: true
|
||||
}).promise()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user