Changing MySQL Database Password
-
Hello everyone
When we install WordPress for the first time on a blog, we create new database, new user and set a new password for it. We give the same details in wp-config.php file.
Now I want to change database password but I’m worried that nothing should go wrong while doing this. So I need your expert advice.
Which are the places which contain database password details and which places should I change to change the db password.
According to my knowledge, I should do as following:
1. First change db password using cPanel -> Databases -> MySQL Databases. Here it allows me to change current user password.
2. After changing password, set the same in wp-config.php file.
Is it sufficient? Will it work or there are some other places which I should also change like MySQL, etc?
Thanks in advance for any kind of help.
- The topic ‘Changing MySQL Database Password’ is closed to new replies.