If you want to change the login details of an existing MySQL database user, follow these steps:
Change MySQL login details / edit database users
Remember that you also have to change the password in the configuration files if the MySQL database user you just modified is in use.
Add MySQL users
Enable external MySQL database access