> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Set Up MariaDB Database in RedM

> Set up MariaDB on your RedM server to store persistent character data, inventories, housing, and faction information required by VORP and RP frameworks.

## Introduction

Character saves.

<CardGroup cols={2}>
  <Card title="Difficulty" icon="gauge-low">
    Beginner
  </Card>

  <Card title="Time" icon="clock">
    5 Minutes
  </Card>
</CardGroup>

***

## Connection

`set mysql_connection_string "server=127.0.0.1;database=s1_redm..."`.
Use `oxmysql` resource for best performance.

## Conclusion

Always backup SQL.

<Note>
  ### 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](https://freakhosting.com/clientarea/submitticket.php)
  * **Discord:** [Join our Community](https://discord.gg/freakhosting)
  * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)
</Note>

<Tip>
  ### First Month Discount

  Use code **KB20** at checkout to get **20% off** your first month of hosting!
</Tip>

***

<Note>
  ### Need Extra Help?

  If you encounter any issues, our support team is ready to assist:

  * **Live Chat:** Quick assistance via our website.
  * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
  * **Discord:** [Join our Community](https://discord.gg/freakhosting)
  * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)
</Note>

<Tip>
  ### Save on Your Hosting

  Ready to get a new server? Use code **KB20** at checkout for **20% off** your first month!
</Tip>

***

<div align="center">
  **Last Updated:** January 2026
</div>
