KnowledgebaseRedM

How to setup a database for your RedM server

rdr2 gameplay screenshot

How to setup a database for your RedM server

RedM
·
Sep 18, 2025
·
3 min read

Depending on which template was chosen during setup, you may be required to connect a database to your server for it 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 RedM setup guide, if you wish to get more info on setting up your RedM server or do not see the fields to enter database options, please read this article first.


Creating your database

  1. Access your control panel.

  2. Navigate to Databases. FXServer with the database button highlighted

  3. Click on Create Database. Create a new database in the Shockbyte control panel

  4. Name the database, select MariaDB as type, and create it. Creating a MariaDB database in the Shockbyte control panel

  5. Take note of all details, you will need to enter them later. Creating a MariaDB database in the Shockbyte control panel


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 RedM server for more information.

  1. Show the Database Options during your setup. Show the Database Options during your setup.
  2. Enter the connection details of your database, and run the recipe. Enter the Database Options during your setup.

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

Unirse a Discord