[mysql-async] [ERROR] connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [ERROR] [esx_addonaccount] An error happens for query “SELECT * FROM addon_account : []”: connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [ERROR] [es_extended] An error happens for query “SELECT * FROM items : []”: connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [ERROR] [es_extended] An error happens for query “SELECT * FROM jobs : []”: connect ECONNREFUSED 127.0.0.1:3306
SCRIPT ERROR: @esx_addonaccount/server/main.lua:9: attempt to get length of a nil value (local ‘result’)
fn (@mysql-async/lib/MySQL.lua:226)
SCRIPT ERROR: @es_extended/server/common.lua:23: attempt to get length of a nil value (local ‘result’)
ref (@es_extended/server/common.lua:23)
(@mysql-async/mysql-async.js:15543)
SCRIPT ERROR: @es_extended/server/common.lua:35: attempt to get length of a nil value (local ‘result’)
So my server was working before perfectly fine, Then i messed up something so now i cant connect to the data base or something i have no clue how to fix this:[mysql-async] [ERROR] connect ECONNREFUSED 127.0.0.1:3306
Means that the server’s process could not establish a connection to the database using the IP and port you provided. Are you running a XAMPP server or something similar?