I created a database in the control panel, and everything seemed to work, but when I try to connect the database to LuckPerms or CoreProtect, I get "Failed to connect to database" errors. I recreated the database several times, but nothing helped. Perhaps I'm entering incorrect data somewhere. Any help would be greatly appreciated.
#Database in Pterodactyl doesn't work
1 messages · Page 1 of 1 (latest)
I already told you how to fix this earlier
#general message
127.0.0.1 is referring to the docker container (each individual pterodactyl server, not the database host)
each docker container you can think of it as its own computer, 127.0.0.1 doesnt resolve to another computer
Oh... okay. What should I specify instead of 127.0.0.1?
Yes, I did this and I was able to create a database (create, not connect!)
the public ip of your vps/server, if its only on your lan and doesnt have a public ip use the lan ip
Okay, thx.
THANK YOU SO MUCH!!!
I was initially stupid and when I created the user I didn't replace 127.0.0.1 (as in the guide) with my IP.