CentOS Web Panel - How to check my current MySQL root password

Download-lagu-mp3.com

Developer
Staff member
How to change my current MySQL root password

Go to phpMyAdmin --> Users Tab
- Click on Edit Privileges for root user
- go to Change password section --> Generate a New Password and click on the Go button.

Now you need to set this new password in the configuration files.

You can use this command from shell:
Code:
nano /root/.my.cnf
and edit also this file
Code:
nano /usr/local/cwpsrv/htdocs/admin/include/db_conn.php
To check the password you the instructions bellow.

You can use this command from shell:
Code:
grep password /root/.my.cnf
or this one
Code:
grep db_pass /usr/local/cwpsrv/htdocs/admin/include/db_conn.php
 
Top Bottom