#share databases between servers
1 messages · Page 1 of 1 (latest)
where are you hosting the Database?
Add a firewall rule to allow traffic from your container's ip to any port 3306 (Or whichever port your DB uses). Repeat for any other containers you want to have access. From inside the container you'll connect to the DB through your server's public ip address.
ok pterodactyl cant connect to my database for some reason
There was an error while trying to connect to the host or while executing a query: "SQLSTATE[HY000] [2002] No such file or directory (SQL: SELECT 1 FROM dual)"
@naive oak; This error appears to be due to insufficient permissions for your database, please see the following guide for more information: https://pterodactyl.io/tutorials/mysql_setup.html#creating-a-database-host-for-nodes
i alr did that dumb bot
Apparently not right lol