Hey,
When i try to import the esx_extended sql file i get the error
SQL Error (1044) Access denied for user
‘u1_JwatpUhzBn’@’%’ to database ‘es_extended’
So it seems like a database privilege issue.
Maybe some information you need,
I made my server in pterodactyl, and i made a database for it in pterodactyl the user that i want to use is made automaticly.
There is something wrong with my database but what i have no idea
OK i tryed localhost, this is my connection string
set mysql_connection_string "mysql://u1_55o5qrO9kp:feoB7lEPIYAtuibPV0AgjT^W@localhost/s1_fivem?charset=utf8mb4"
This is the error message
The port 3306 is filled in automaticly
Maybe some other usefull information, i run my server in a docker image and im using phpmyadmin for the database
We can keep on guessing for you but the other option is that you(the person with access to your mysql setup) can take the very simple step of learning your db access info. The person with the keys to the server is the person that should be determining this info.
I finally figured it out: namely when you use Pterodactyl and use “localhost” or “127.0.0.1”, you call the container itself.
Very simple fix:
enter the following command in your SSH console: ip addr | grep docker0
Then you should get something like this:
docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOW
N group default
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
and exactly this IP address 172.17.0.1 you use as your MySQL server. If you still get an error you should bind your MySql server to get the connections from outside, this you do as follows:
1. find /etc -iname my.cnf
2. nano /etc/mysql/my.cnf
3. at the bottom add this
[mysqld]
bind-address=0.0.0.0
now you are ready and your FiveM server connects to the database!