Open
Description
I'm trying to connect my Discord bot to my server's MySQL database, but everytime I try to run the bot I get the following error:
let conn = mysql.createConnection({ insecureAuth : true, host : config.mysql.host, user : config.mysql.user, password : config.mysql.password, database : config.mysql.database });
config.json:
{ "token":"bottoken", "prefix":"m!", "mysql": { "host":"localhost", "user":"root", "password":"apassword!", "database":"aphi" } }
Metadata
Metadata
Assignees
Labels
No labels