I Need help With esx error?

[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’)

May I get updated on what is your problem here?

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

I got the real answer for you! Reminder that im not the owner of this topic.

Link: [mysql-async] [ERROR] connect ECONNREFUSED 127.0.0.1:3306

Quoting a topic of a similar problem that noone ever replied to couldn’t be any less helpful…

2 Likes

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?

Yes i was

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.