Handshake timeout error on mySQL
the error points to where I assign my db
I'm using quickdb.js with promise-mysql
project ID:
ad4f96c1-5839-4882-89ea-53b1a95f4719
22 Replies
Project ID:
ad4f96c1-5839-4882-89ea-53b1a95f4719
Are you using the correct environment variables?
yes, I think so
Maybe I should store my data as a json in a discord message
Those are indeed the correct variables
Let me do some testing
Alright, thanks for your help Brody!
if possible do you wanna provide me with a full code snippet? code that just connects to the db and would print a success message
something like this?
yep exactly
specify a port in that config
port: process.env.MYSQLPORT
Alright
"Client does not support authentication protocol requested by server; consider upgrading MySQL client"
lol
yea, that's the package I'm using
wait wait, no, using quickdb.js
https://quickdb.js.org/en/introduction/
ah okay thats better
i shall investigate
thanks a ton ðŸ˜
so while quick.db has been updated recently, the underlying mysql package hasn't, and doesn't support mysql v8
Darn, okay thanks Brody!
I guess I'll use a different appreciate your help!
mysql2 works
https://www.npmjs.com/package/mysql2
Alright, I'll check it out, thank you :D
no problem!