Persistent Data Storage
Most FiveM communities rely on a database to store persistent information such as character bank balances, vehicle ownership, and housing data. Establishing a secure and fast connection string is the most critical step in setting up a functional roleplay environment.
| Reading Time | Difficulty | Last Updated |
|---|---|---|
| 7 minutes | Intermediate | January 2026 |
1. Creating the Database
- Log in to your FREAKHOSTING GamePanel.
- Select the Databases tab.
- Click New Database.
- Database Name: Enter a name for your server (e.g.,
fivem_rp). - Connection From: Leave as
%(Allow any) for internal synchronization. - Click Create. Once generated, click the Eye icon to view your credentials (Username, Password, and Endpoint).
2. The Connection String
Open yourserver.cfg file. Depending on which database resource you use, the syntax will vary slightly. Modern servers use oxmysql.
Recommended (oxmysql)
Legacy (mysql-async)
Support Channels
If you need assistance or have any questions, please contact our support team:- Live Chat: Available on our website
- Website Ticket: Submit a Ticket
- Discord: Join our Community
- Email: [email protected]
Last Updated: January 2026 | FiveM: Database connected.