#Problem with setting up the Panel
5 messages · Page 1 of 1 (latest)
[ERROR] Unable to connect to the MySQL server using the provided credentials. The error returned was "SQLSTATE[HY000]
[1045] Access denied for user 'pterodactyl'@'localhost' (using password: NO)".
[ERROR] Your connection credentials have NOT been saved. You will need to provide valid connection information before
proceeding.
@violet agate; 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