#I can't send emails for some reason.
1 messages · Page 1 of 1 (latest)
Your database is refusing the dashboard'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 - 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_PASSWORDin your.envfile is enclosed in double quotes
Here is some additional documentation to help you out: https://CtrlPanel.gg/docs/Installation/getting-started#database-setup
——————————-
credits to pterodactyl team for making this good message
It is recommended that you have some sort of Linux and MariaDB experience before installing this.
Whats weird, is i did all those steps, and when i change the host to localhost, does not work. but I cleared config and view, but still same error.
Cuz i am trying to resend verifcation email, and it just shows this error.
Well now, there is no errors, but still no verifcation email.
Please check if the password reset email sends.
If it does, check your queue workers - https://CtrlPanel.gg/docs/Installation/getting-started#queue-listeners
If it still doesnt work, check your php version is 8.1 - php -v
Make sure to clear the config cache and to restart the queue workers when making changes to the email details.
php artisan queue:restart```
It is recommended that you have some sort of Linux and MariaDB experience before installing this.