I have these errors occurring when I run my server starter. Im not sure how to fix this:
Warning: onesync_enabled
is deprecated. Please use onesync legacy
instead.
and:
[mysql-async] [ERROR] connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [WARNING] [esx_joblisting] [2060ms] SELECT name, label FROM jobs WHERE whitelisted = ? : [false]
[MySQL] [ERROR] [esx_joblisting] An error happens for query “SELECT name, label FROM jobs WHERE whitelisted = ? : [false]”: connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [WARNING] [esx_addonaccount] [2082ms] SELECT * FROM addon_account : []
[MySQL] [ERROR] [esx_addonaccount] An error happens for query “SELECT * FROM addon_account : []”: connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [WARNING] [esx_shops] [2060ms] SELECT * FROM shops LEFT JOIN items ON items.name = shops.item : []
[MySQL] [ERROR] [esx_shops] An error happens for query “SELECT * FROM shops LEFT JOIN items ON items.name = shops.item : []”: connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [WARNING] [esx_addoninventory] [2063ms] SELECT * FROM items : []
[MySQL] [ERROR] [esx_addoninventory] An error happens for query “SELECT * FROM items : []”: connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [WARNING] [esx_society] [2060ms] SELECT * FROM jobs : []
[MySQL] [ERROR] [esx_society] An error happens for query “SELECT * FROM jobs : []”: connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [WARNING] [es_extended] [2059ms] SELECT * FROM jobs : []
[MySQL] [ERROR] [es_extended] An error happens for query “SELECT * FROM jobs : []”: connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [WARNING] [esx_datastore] [2063ms] SELECT * FROM datastore : []
[MySQL] [ERROR] [esx_datastore] An error happens for query “SELECT * FROM datastore : []”: connect ECONNREFUSED 127.0.0.1:3306
[MySQL] [WARNING] [es_extended] [2060ms] SELECT * FROM items : []
[MySQL] [ERROR] [es_extended] An error happens for query “SELECT * FROM items : []”: connect ECONNREFUSED 127.0.0.1:3306
SCRIPT ERROR: @esx_joblisting/server/main.lua:10: attempt to get length of a nil value (local ‘result’)
ref (@esx_joblisting/server/main.lua:10)
(@mysql-async/mysql-async.js:15543)
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: @esx_addoninventory/server/main.lua:10: attempt to get length of a nil value (local ‘items’)
fn (@mysql-async/lib/MySQL.lua:226)
SCRIPT ERROR: @esx_datastore/server/main.lua:9: attempt to get length of a nil value (local ‘result’)
fn (@mysql-async/lib/MySQL.lua:226)
SCRIPT ERROR: @esx_society/server/main.lua:18: attempt to get length of a nil value (local ‘result’)
fn (@mysql-async/lib/MySQL.lua:226)