How to change password for wordpress mysql database ?

#1
My website is live for some security reasons I want to change mysql database password. I can access what is the current password in /home/ubuntu/.db_password
It has password stored like this wordpress_mysql_pass="old_password" , I need to change old_password with new_password.

Where else do I need to make changes? I would appreciate any help.
 
Top