Files
BikeRideViewer/database.js.examle

13 lines
242 B
Plaintext

var mysql = require('mysql2/promise');
const DBPool = mysql.createPool({
host : 'localhost',
database : 'testing',
user : 'root',
password : ''
waitForConnections: true,
connectionLimit: 10,
queueLimit: 0
});
module.exports = DBPool;