如何在App中更改MySQL用户azure的密码?
到目前为止我已经尝试过:
有两个名为 MYSQLCONNSTR_localdb.txt
和 MYSQLCONNSTR_localdb.ini
的配置文件。我在那里更改了默认密码,但什么也没发生。另外,如果我使用 PHPMyAdmin 更改密码,则我无法使用新凭据再次登录 PHPMyAdmin(出于我未知的原因)。
最佳答案
引用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 modifyD:\home\data\mysql\MYSQLCONNSTR_localdb.ini
, removeD:\home\data\mysql\MYSQLCONNSTR_localdb.txt
and restart the WebApps.
关于azure - 在应用程序中更改 MySQL 中的密码 - Microsoft Azure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45471181/