[Standalone] OxMySQL - Lightweight MySQL wrapper

replace with server.cfg :

set mysql_connection_string "server=127.0.0.1;database=yourdataname;userid=root;"

  • Do not forget the data name :slight_smile:
1 Like
?connectTimeout=30000&acquireTimeout=30000&waitForConnections=true&keepAlive=30

in mysql these parameters worked, now in oxy they no longer work, what would be the parameters for oxy?

[script:esx_policejob] SCRIPT ERROR: @esx_policejob/server/main.lua:326: attempt to index a nil value (local β€˜store’)
[script:esx_policejob] > ref (@esx_policejob/server/main.lua:326)
[script:esx_policejob] > handler (@esx_datastore/server/main.lua:77)
[script:esx_policejob] > ref (@esx_policejob/server/main.lua:325)
[script:esx_policejob] > TriggerServerCallback (@es_extended/server/functions.lua:33)
[script:esx_policejob] > handler (@es_extended/server/common.lua:88)
[script:esx_datastore] SCRIPT ERROR: error object is not a string
[script:esx_datastore] (nil stack trace)es_extended: TriggerServerCallback => [esx_society:getOnlinePlayers] does not exist

This error has nothing to do with oxmysql.