Error when I launch my server.. I have no fucking clue what is it for?

The picture are in order, I really don’t know what am I doing wrong and I didn’t find this problem anywhere else.
Help me FiveM Forum, you’re my only hope !

Looks like it can’t connect to your mysql server, are you entering the right mysql_connection_string

https://cdn.discordapp.com/attachments/538152774416728076/583012842173759512/server.cfg
Here is my server.cfg

The IP you entered is that the IP of your vps/server maybe just enter localhost if the mysql server is on the same machine (as most mysql installations dont allow external connections)

Ok localhost doesn’t look right too


I didn’t screenshot all of it, just the major part

Is the mysql server on the same machine?

Yes it is

userid=root maybe?

Still same error

Are you sure your username and password is correct?

1 Like

I don’t know what should I write in Username and password,
Which username and which password ?

try this

set mysql_connection_string “server=127.0.0.1;database=fivem;userid=root;password=”

I try, write “localhost” for the “server=”
same thing

Not to sure what the problem is. What username and password do you use to connect to the database?

Which database, that’s what i’m confuse about ?

You need to log inn to phpmyadmin in order to view your database. Have you even made a database called fivem?

No… I didn’t know :\

I’m looking into it, not sure what I have to do… but I’ll find