delete mysql error
This commit is contained in:
parent
adedb99574
commit
15cb2bcb38
18
mysql.js
18
mysql.js
|
@ -1,18 +0,0 @@
|
|||
const mysql = require('mysql');
|
||||
const config = require('./config');
|
||||
|
||||
|
||||
var con = mysql.createConnection({
|
||||
host: "test-db.verdnatura.es",
|
||||
database: "vn",
|
||||
user: config.userDev,
|
||||
password: config.passwordDev
|
||||
});
|
||||
|
||||
con.connect(function(err) {
|
||||
if (err) {
|
||||
console.error('Error connecting: ' + err.stack);
|
||||
return;
|
||||
}
|
||||
console.log("Connected!");
|
||||
});
|
Reference in New Issue