How to reset CyberPanel MySQL root Password

CyberPanel is a free hosting control panel. To find MySQL root password on CyberPanel server, run

cat /etc/cyberpanel/mysqlPassword

If you want to change MySQL root password on a CyberPanel server, reset MySQL root password as per

Reset MySQL root Password

Once the MySQL root password is reset, you need to modify the file

/usr/local/CyberCP/CyberCP/settings.py

Add the new password for user root and cyberpanel

CyberPanel mysql root password

Restart CyberPanel service with command

systemctl restart lscpd

See CyberPanel

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *