esx-framework / esx_core

Official Repo For core resources for esx-legacy
https://documentation.esx-framework.org/
GNU General Public License v3.0
356 stars 737 forks source link

[Bug] - esx_addonaccount - Issue = [script:esx_addonacco] SCRIPT ERROR: @esx_addonaccount/server/main.lua:5: attempt to index a nil value (global 'MySQL') #1337

Closed n0tKp888 closed 4 months ago

n0tKp888 commented 4 months ago

Does anyone know how to fix this?

Gellipapa commented 4 months ago

@n0tKp888 Hi! You need to run ox_mysql before es_extended, you probably don't have oxmysql running, or you start it later, or it's just misconfigured. This is not an ESX problem, you have the wrong ox_mysql configuration.