New guide on how to setup MySQL for Fivem. Let’s start and see how its done!
Requirements
- Running MySQL server.
- Running FiveM server.
Installation
- The first thing you want to do is create a database.
- Now in the server.cfg file add the following line, replacing the DatabaseName, the Username and the Password (change the ip of the database if needed. If you need to add something check this tool and go to the latest page):
set mysql_connection_string "mysql://username:password@localhost/databaseName?" ... start mysql-async
- Now download the MySQL-Async, and after downloading it rename it into: mysql-async.
- Start the server and enjoy!
And this was how to setup mysql for fivem. Make sure to stay tooned for more guides.