#500 Server Error

1 messages · Page 1 of 1 (latest)

obtuse canyon
#

Server Error 500 After installing panel

teal ruinBOT
obtuse canyon
teal ruinBOT
#

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.

  1. Is your MySQL instance running? systemctl status mysql
  2. Is the user you're trying to connect with authorized to access the given database from this IP address?
  3. Did you correctly give that user permission to even access that database?
  4. Do you have a Firewall that is blocking connections?
  5. Is your MySQL instance bound to 127.0.0.1 or localhost and you're trying to connect from outside the server?
  6. Does the user have GRANT permissions if you're trying to use them to create a new database for a server?
  7. 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://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.

obtuse canyon
#

still the same :v

honest temple
# obtuse canyon still the same :v

[2023-06-30 14:37:24] production.ERROR: SQLSTATE[HY000] [1045] Access denied for user 'controlpaneluser'@'localhost' (using password: YES) {"exception":"[object] (PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'controlpaneluser'@'localhost' (using password: YES) at /var/www/controlpanel/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70)

#

access denied, most likely wrong password or username

#

Is the user you're trying to connect with authorized to access the given database from this IP address?

obtuse canyon
honest temple
#

well panel says no 🤷‍♂️

obtuse canyon
#

I just reinstalled dash

honest temple
#

okay

obtuse canyon
#

lets see

#

still same issue

#

my password has a speacial character #

#

nvm working now