Files
libreevent/src/server/backend/db/mysqldb.js
2023-07-08 13:53:06 +02:00

15 lines
378 B
JavaScript

const mysql = require( 'promise-mysql' );
class SQLDB {
constructor () {
this.sqlconnection = mysql.createConnection( {
host: 'janishutz.com',
port: '3306',
user: 'janishut_libreeventTest',
password: '^PVgj&xkaQKmMDCgz&2^aCaYxc7nCS#*%7%',
connectionLimit: 200
} );
}
}
module.exports = SQLDB;