Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change password in MySQL in App - Microsoft Azure

How can I change the password of user azure in MySQL in App?

What I have tried so far: There are two configuration files named MYSQLCONNSTR_localdb.txt and MYSQLCONNSTR_localdb.ini. I have changed the default password there, but nothing happened. Also, if I change the password using PHPMyAdmin, then I cannot login again to PHPMyAdmin (for reasons unknown to me) using the new credentials.

like image 853
pgmank Avatar asked Dec 24 '22 15:12

pgmank


1 Answers

Quoting the doc:

Can I customize the database, username and password to be used?

Yes. The connection string is stored at D:\home\data\mysql\MYSQLCONNSTR_localdb.txt. The application (such as wordpress) reads from this file for what database, username and password to use. This also applies to what to backup and restore provided by Azure WebApps. If you want to customize the database, username and password, after you have created a new database, add new username or update password, simply modify D:\home\data\mysql\MYSQLCONNSTR_localdb.ini, remove D:\home\data\mysql\MYSQLCONNSTR_localdb.txt and restart the WebApps.

like image 125
Aaron Chen Avatar answered Jan 12 '23 23:01

Aaron Chen