Nadia
Staff member
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:
and edit also this file
To check the password you the instructions bellow.
You can use this command from shell:
or this one
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
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
Code:
grep db_pass /usr/local/cwpsrv/htdocs/admin/include/db_conn.php