Database (oxmysql) Connection
Link your database correctly to your QB-Core, ESX, or custom FiveM server.
Beginner friendly6 min
1. Create a database
Create a MySQL database via the 'Databases' tab in your VylorNode panel and copy the oxmysql connection string.
2. Paste the string into server.cfg
Open 'server.cfg' via File Manager and add the connection string at the top of the file.
set mysql_connection_string "mysql://user:password@host/database_name?ssl=disabled"3. Start oxmysql as the first resource
Make sure 'ensure oxmysql' is at the top of your resources in 'server.cfg', before your framework files.
ensure oxmysql
ensure qb-coreStill stuck?
Tell support what you already tried so we can help faster.
