usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.53k stars 592 forks source link

[BUG] phpmyadmin Password #1149

Open m7jalta opened 11 months ago

m7jalta commented 11 months ago

i changed the password of the php admin using Databases /dataBases/phpMyAdmin , after that when i click on auto login i got redirected to https://ip:8090/phpmyadmin/phpmyadminsignin.php (blank page) image

AsocanGr commented 10 months ago

https://community.cyberpanel.net/t/some-donts-after-installing-cyberpanel/14195

MYSQL Password

If you change MySQL root password also update this file with updated password:

/etc/cyberpanel/mysqlPassword

Then you also need to update root password in settings file /usr/local/CyberCP/CyberCP/settings.py. Insert new password at new root password here

'rootdb': {
    'ENGINE': 'django.db.backends.mysql',
    'NAME': 'mysql',
    'USER': 'root',
    'PASSWORD': 'new root password here',
    'HOST': 'localhost',
    'PORT': '',
}

}

Finally also update root password in /home/cyberpanel/.my.cnf. If this file does not exist, you can skip.

After doing all these steps, make sure to run systemctl restart lscpd

This article is still a work in progress.