#auth fail
1 messages · Page 1 of 1 (latest)
I have found the following for: https://pteropaste.com/zahnwkom13tb/
@pulsar kraken; You don't appear to be providing a password for your database connection. Make sure to provide one in your .env file or all authentication attempts will fail. Open the file and find DB_PASSWORD variable, do not add a new one. Remember to enclose it in double quotes such as DB_PASSWORD="mypassword"
You can open it directly with nano /var/www/pterodactyl/.env. Refresh config cache with cd /var/www/pterodactyl && php artisan config:clear
I have found the following for: https://pteropaste.com/abqvpmuvk45z/
🇫🇷 🥖 Bienvenue sur Internet, @pulsar kraken 🥖 🇫🇷
Your database is refusing the Panel's attempts to connect to it. This can be for a number of different reasons so I'll let a human double check, but here are some ideas.
- Is your MySQL instance running?
systemctl status mysql(hopefully not down the road) - Is the user you're trying to connect with authorized to access the given database from this IP address?
- Did you correctly give that user permission to even access that database?
- Do you have a Firewall that is blocking connections?
- Is your MySQL instance bound to
127.0.0.1orlocalhostand you're trying to connect from outside the server? - Does the user have
GRANTpermissions if you're trying to use them to create a new database for a server? - Have special characters in your password? Make sure DB_PASSWORD in your .env file is enclosed in double quotes
Here is some additional documentation to help you out: https://pterodactyl.io/tutorials/mysql_setup.html