• Did you know if there is social media like Facebook? don't forget to register at Vevioz.com!

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

API

Staff member
Joined
Nov 17, 2018
Messages
132
Reaction score
28
Points
28
Location
Indonesia
Offline
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