How to install ESX on your FiveM server (Portallis panel)

Step-by-step guide

your FiveM server runs the ESX roleplay framework (jobs, housing, vehicles), linked to its database.

Time : 15 minutesLevel : intermediateChecked : 17 Nov 2026

Before you start

  • Follow “How to start your FiveM server with txAdmin” first (txAdmin on, Cfx.re account linked).
  • Your FiveM licence key.
  • A database: ESX needs one to store players, jobs and vehicles.
1

Create the database in the panel

Base de donnée (Database) menu, New Database button. Name it (here esx), leave “Connexion depuis” (connect from) empty, then Créer la base de données. The panel names it s134_esx and shows its address. Click Détails de la base de données to see its username and password: each database has its own.

How to install ESX on your FiveM server (Portallis panel) : Create a database
Create a database
2

Go back to the txAdmin wizard

In txAdmin: Settings, FXServer tab, Reset button next to the data folder, then Continue. Nothing is deleted. Then open /server/setup: the wizard starts again.

Reset the data folder
Reset the data folder
3

Choose ESX Legacy

Choose Popular Recipes, then the ESX Legacy template. Keep the suggested folder (Save), then Go to Recipe Deployer and review the recipe (it is the official ESX team recipe).

ESX template choice
ESX template choice
ESX recipe review
ESX recipe review
4

Enter the licence and database

Click Next, then Show/Hide Database options. Fill in:

  1. Server Registration Key: your FiveM licence.
  2. Database Host: the database address (shown in the panel). Port: 3306.
  3. Database Username and Database Password: those of this database (not another one).
  4. Database Name: s134_esx.
  5. Delete Database: OFF.

Check the username carefully: another database’s username gives “Access denied”.

Database options
Database options
5

Run the recipe

Click Run Recipe. Tasks scroll by (database connection, table creation, resource downloads) until “All done!”.

Recipe running
Recipe running
Recipe finished
Recipe finished
6

Set the port, then start

In the server.cfg shown, replace 30120 with your server’s main port (for example 25005) on both endpoint_add_tcp and endpoint_add_udp lines. Do not touch the mysql_connection_string line. Click Save & Run Server.

7

Check it works

The txAdmin console lists the ESX scripts (esx_billing, esx_jobs, esx_garage…) with “Database schema ready” or “SQL catalog … ready”: ESX is linked to its database.

Console: ESX scripts ready
Console: ESX scripts ready

If it does not work

“Access denied for user … to database”

wrong username or password. Use those of the s134_esx database from “Détails de la base de données”.

“Delete Database” on

txAdmin tries to drop and recreate the database, which fails on a hosted database. Set it to OFF.

Nobody can connect

the endpoint_add_* lines must use the main port.

The `voice_useSendingRangeOnly` warning

is harmless.

Questions? Get in touch

Our team will answer by message or on Discord.

No FiveM server yet?

Launch yours in minutes. €1 = 1 GB.

See the FiveM plans