From 15cb2bcb383be5b51238ed710ac74285d827eeb7 Mon Sep 17 00:00:00 2001 From: alexmorenograu <61759297+alexmorenograu@users.noreply.github.com> Date: Fri, 12 Mar 2021 09:21:38 +0100 Subject: [PATCH] delete mysql error --- mysql.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 mysql.js diff --git a/mysql.js b/mysql.js deleted file mode 100644 index 2094904..0000000 --- a/mysql.js +++ /dev/null @@ -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!"); -}); \ No newline at end of file