简体   繁体   English

将 azure RDS mysql 连接到 wordpress 博客的 azure web 应用程序

[英]Connecting azure RDS mysql to azure web app for wordpress blog

My wordpress connects with AWS RDS in localhost but not from Azure (web app).我的 wordpress 与 localhost 中的AWS RDS连接,但不是来自Azure (Web 应用程序)。 It shows Error establishing a database connection in Azure .它显示Error establishing a database connection in Azure Whats happening?发生了什么? Am I missing something?我错过了什么吗? The issue is due to Azure or AWS?问题是由于 Azure 还是 AWS?

All my Wordpress sites are down hosted on Azure for the 4th time this month.我所有的 Wordpress 网站本月第 4 次在 Azure 上托管。 It is only the 9th.这只是第 9 次。

We expect much more from cloud hosting, like if one region goes down another picks up the pieces to limit downtime.我们对云托管的期望更高,例如,如果一个区域出现故障,另一个区域会恢复原状以限制停机时间。

But now do not see this being a reliable host.但现在不认为这是一个可靠的主机。

Have you looked at the dashboard in your Azure portal for your wordpress site?您是否查看过您的 wordpress 站点的 Azure 门户中的仪表板? What does it say?它说什么?

This post on the Microsoft site illustrates how it all works. Microsoft网站上的这篇文章说明了它是如何工作的。

Essentially what you are looking for at the coded errors (404, etc), and you can also configure Azure to notify you when these alerts go off, via something like e-mail.本质上是您要查找的编码错误(404 等),您还可以将 Azure 配置为在这些警报发出时通过电子邮件等方式通知您。 This post explains how to do that. 这篇文章解释了如何做到这一点。

Finally, this short video from Scott Hanselman illustrates how to do endpoint monitoring and make sense of the dashboard.最后, 来自 Scott Hanselman 的这个简短视频说明了如何进行端点监控和了解仪表板。

With these, you'll be able to determine which service is giving you issues.有了这些,您将能够确定哪个服务给您带来了问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM