MySQL Connection Error

[ script:oxmysql] Unable to establish a connection to the database (ECONNREFUSED)!
[ script:oxmysql] Error -111: connect ECONNREFUSED 127.0.0.1:3306

I keep getting this error and for the life of me I cannot find the fix for it, Any help is greatly appreciated!

Hey,
do you host the fivem server and the database on the same server?

I do believe so yes, The panel is a pterodactly linux panel and it’s a MySQL panel that goes to phpMyAdmin

Do you get any information about the database like the “host” / Port ?