var mysql = require('mysql');
var connection = mysql.createConnection({
host : '1.0.1',
port : '3306',
user : 'us',
password : "pwd",
database : 'db'
});
for my discord bot but when this error apears the bot crashes
because of this error
Error: Connection lost: The server closed the connection.
im using
for my discord bot but when this error apears the bot crashes because of this error Error: Connection lost: The server closed the connection.