Rey #1

The remote database credentials (host, username, password) are correct, and read/write permissions were successfully tested with MariaDB 10.5. During the CyberPanel installation, the entered credentials—including the database name—were initially validated successfully. However, the process eventually failed with an error indicating a connection failure to the “mysql” database.

I attempted a reinstallation, this time first selecting a local database. After completing the CyberPanel installation, I exported the local CyberPanel database to the remote database, named “cyberpanel.” I also updated the username and password to custom values and confirmed a successful connection test. Additionally, I modified the following three configuration files to reflect the new remote database settings:

  • /usr/local/CyberCP/CyberCP/settings.py
  • /etc/cyberpanel/mysqlPassword
  • /usr/local/CyberCP/public/phpmyadmin/config.inc.php

Despite these changes, after restarting the server, the CyberPanel web interface continues to return a 500 error.