Mysql Global error command line

The command line MySQL:open(“127.0.0.1”, “gta5basemods”, “root”, “”)
Does not work anymore? She was changed?
Because all the mods that use it happen the GlobalMysql error as shown in print

mysqlglobal

Maybe this command was discontinued as “Required”? Because every time I put require "resources/baseMods/lib/MySQL"
A similar error happens by changing only the name. I gave one searched and it’s not enough to use this command requirederror

Use updated resources/scripts for FXServer as Require is no longer compatible.
https://wiki.fivem.net/wiki/Running_FXServer

Thanks for answering. But it still did not work, I changed the command line from the .lua file to _resource, and changed from require “resources / baseMods / lib / MySQL” to server_script ‘lib / MySQL.lua’. Month so the error continues. Here are the prints of what I did

1 Like

What error is it now? It wouldn’t be the same error if you removed the require from the script, unless there is another require somewhere else?

The error now is Global mysql error. As shown in print mysqlglobal

2 Likes