How to Install MySQL Async on Your FiveM Server

MySQL Async is a FiveM Server and RedM Server resource that works like a MySQL library, allowing interactions between a local or remote database and the resources, making them include new features and store information
It’s a dependency for frameworks like ESX and EssentialMode because through this library they can store the data from each user in a database (such as the name, money, jobs, properties, identifier, and their last location), access and modify them, all in an automatic and asynchronous way
Furthermore, other alternatives accomplish a similar role in linking a database and a server, such as oxmysql, whose use is indispensable for the QB-Core framework. Feel free to see the tutorials we’ve made for it at our knowledge base
Once the file has been downloaded and extracted, you’ll need to upload it to your server, you can do so through an SFTP program like Filezilla, here you can find a step-to-step guide about how to connect to your server through Filezilla
MySQL Async is available in our Mod Manager, and it simplifies the process by making the installation automatic
That’s it! You’ve now installed MySQL-Async on your server, and it will be initiated each time you turn on the server. The next step is making a database (you can follow this guide if you haven’t made one yet) and setting up your MySQL connection string
set mysql_connection_string "server=Database Host;database=Your Database Name;userid=Your Database Username;password=Database Password"
Make sure your database password doesn’t have a “=” on it or the connection string won’t work, you can reset your password through the Databases tab.
Make sure the folder name is set to ‘mysql-async’, if you are still having issues after this, feel free to contact Iceline Hosting’s support for further assistance.
Learn more about our Server Hosting for FiveM™ at Iceline Hosting.