pterodactyl game panel SQL error #11
Replies: 4 comments
-
I tried changing the network to this: I then changed the database to: Now I'm not getting the connection error I'm getting: After running The new IP's list are: |
Beta Was this translation helpful? Give feedback.
-
I changed the IP of the database to 172.20.0.5 but now its trying to connect on 172.20.0.4 |
Beta Was this translation helpful? Give feedback.
-
I tried changing the IP by running |
Beta Was this translation helpful? Give feedback.
-
I have resorted to running it directly on ubuntu using this site and the script for install: |
Beta Was this translation helpful? Give feedback.
-
After running the docker compose I run the command you have for making a user:
docker-compose run --rm panel php artisan p:user:mak
I am getting
Connection.php line 692:
SQLSTATE[HY000] [1045] Access denied for user 'pterodactyl'@'172.20.0.5' (using password: YES) (SQL: select * from information_schema.tables where table_schema = panel and table_name = migrations and table_type = 'BASE T ABLE')
And Both
In PDOConnection.php line 39:
In Exception.php line 18:
are giving the error:
SQLSTATE[HY000] [1045] Access denied for user 'pterodactyl'@'172.20.0.5' (using password: YES)
I saw that it is looking for an IP of 172.20.0.5 but when I check all the container IP's with
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -q)
I get this list of IP's:
172.20.0.4 172.20.0.2 172.20.0.3
How can I set the IP for the database in the Docker-Compose file.
I found this but I don't understand it: Link
Beta Was this translation helpful? Give feedback.
All reactions