diff --git a/.yarn.installed b/.yarn.installed deleted file mode 100644 index e69de29..0000000 diff --git a/oxmysql.js b/oxmysql.js index d332f83..ba40e2e 100644 --- a/oxmysql.js +++ b/oxmysql.js @@ -4,7 +4,12 @@ const { createPool } = require('mysql2/promise'); const pool = createPool({ host: 'localhost', user: 'root', - database: 'es_extended' + password: 'password', + database: 'database', + charset: 'utf8mb4', + multipleStatements: true, + namedPlaceholders: true, + waitForConnections: true, }); const execute = async (query, parameters) => {