💼 Currently looking for professional qualified individuals, visit our jobs page for more information.

FiveM error ECONNREFUSED Print

  • fivem, error, connection refused
  • 4

If you got this error:

Then you did not setup the mysql_connection_string right. The database IP can never be

To fix this:

  1. Open your server.cfg
  2. Create a database if you did not do that yet and save/remember the database details.
  3. In the mysql_connection_string, add te following behind this:
    server= add the IP of your MySQL server (You can find this under the tab databases in you control panel)
    uid= add the username of your mysql database
    password= add the password of your mysql database
    database= add the name of your database

The new mysql_connection_string should be something like this:
set mysql_connection_string "server=;uid=userhere;password=passwordhere;database=s1_databasename"

Was this answer helpful?

« Back