
How to setup a database for your FiveM server
Depending on the chosen template, you may be required to connect a database to your server for your server to store data in. This guide will cover how to setup this database and entering its details into txAdmin.
Note:
This article is part of our FiveM setup guide, if you wish to get more info on setting up your FiveM server or do not see the fields to enter database options, please read this article first.
Creating your database
-
Access your control panel.
-
Navigate to Databases.

-
Click on Create Database.

-
Give the database a name, select MariaDB as type, and create the database.

-
Take note of all details, you will need to enter them later.

Entering your database connection details
Note:
If you do not see the option to enter connection details, your setup might not require one. Please refer to our guide on Getting started with your FiveM server for more information.
- Show the Database Options during your setup.

- Enter the connection details of your database, and run the recipe.

Now that your server has successfully connected to the database, you can continue setting up your server using our Getting started guide.