Password for Root in PHPMyAdmin

I found Phpmyadmin password in /etc/cyberpanel/mysqlPassword.
I can just copy paste that, but if I change that to my own password, it gives Error (I can no longer access phpmyadmin). Should I include some command in Mysql in addition to just changing the text in the file mysqlPassword?

you need to do 2 things

  1. change your password in phpmyadmin or mysql command interface , whichever you wish.

  2. Place your new password into /etc/cyberpanel/mysqlPassword

what is the command, please ?

Do it via PHPMYADMIN is much simpler

aahh yes, thanks :slight_smile:

I am getting this error

-bash: /etc/cyberpanel/mysqlPassword: Permission denied

Login as root or use sudo.

I am getting this error

-bash: /etc/cyberpanel/mysqlPassword: Permission denied

it’s cat /etc/cyberpanel/mysqlPassword`