LIVEWe’re live! Celebrate with 20% off your first monthLAUNCH20Claim discount
Skip to main content

Guides

Database (oxmysql) Connection

Link your database correctly to your QB-Core, ESX, or custom FiveM server.

Back to overview

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-core

Still stuck?

Tell support what you already tried so we can help faster.

Get support

VylorNode Support

We are here to help

Typically online

Start a conversation

Send your question and a team member will reply as soon as possible.