mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
more progress on backend
This commit is contained in:
15
src/server/backend/db/mysqldb.js
Normal file
15
src/server/backend/db/mysqldb.js
Normal file
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user