azure - 在应用程序中更改 MySQL 中的密码 - Microsoft Azure

标签 azure azure-web-app-service

如何在App中更改MySQL用户azure的密码?

到目前为止我已经尝试过: 有两个名为 MYSQLCONNSTR_localdb.txtMYSQLCONNSTR_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 modify D:\home\data\mysql\MYSQLCONNSTR_localdb.ini, remove D:\home\data\mysql\MYSQLCONNSTR_localdb.txt and restart the WebApps.

关于azure - 在应用程序中更改 MySQL 中的密码 - Microsoft Azure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45471181/

相关文章:

azure - Azure 数据工厂中的数据流与 foreach 循环集成

azure - 在 Azure 应用服务的容器内运行命令

azure - 我是否可以轻松停止/启动 Azure Webjobs,而无需通过 UI 或 FTP?

asp.net-mvc - 名为 "jobs"的路由在 Azure 中不起作用

azure - 是否可以在不重定向到 Microsoft 登录站点的情况下注册/登录 Azure AD B2C?

Azure Table - 基准测试显示性能超出官方目标

javascript - Azure WebApp 中的环境变量与 Node.js

angularjs - 使用 spa 中的 azure b2c 对 webapi 进行身份验证(Angular 和 adal.js)

azure - 如何解决 Azure Web 应用程序上的错误 500?

azure - 移动到另一个资源组后,更改应用服务计划不起作用