Unknown database 'fivem'

hello i have a problem when i start server is say me that


any help please

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

The server has managed to make a connection to the database host but the database itself, “fivem” doesn’t exist, make sure you follow all the tutorials correctly on ESX.

um can you send me a video or something or have something about server.cfg?

Have you got ESX-1 or 2?
If you have ESX-1 you have to install mysql if you are on linux, and xampp if you are on Windows. Then import from mysql-async folder the database and set this line at the very top of your server.cfg:
set mysql_connection_string “user=User;database=Database;password=Password”
Replace the User, Database and Password with your login informations. Then restart the server.

1 Like

#DATABASE

set mysql_connection_string “server=127.0.0.1;database=essentialmode;userid=root;password=”

set es_enableCustomData 1
solve it

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.