FiveM-Scripts/venomous-freemode

I am getting issue with mysql database

jsonpreet opened this issue · 1 comments

I am getting error in my console
SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:924: No such export scalar in resource ghmattimysql

handler (@vf_base/server/general.lua:76)
Screenshot_1
Screenshot_2

  1. Remove your current ghmattimysql folder in case it already exists.
  2. Download https://github.com/GHMatti/ghmattimysql/releases/download/1.2.1/ghmattimysql.zip .
  3. Extract the zip file and rename the folder to ghmattimysql
  4. Go to ghmattimysql/config.json and edit your database name/user/password.
  5. Copy / paste the ghmattimysql folder to resources.
  6. Open server.cfg and add ensure ghmattimysql.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure fivem
ensure hardcap
ensure rconlog
ensure NativeUI
ensure ghmattimysql
  1. Once all the above steps are completed (re)start your server and try if it works.