Drupal : PDOException: SQLSTATE[HY000][2002] on Azure App Services

3 days back I was trying to browse this site (https://technobytes.azurewebsites.net) which is a Drupal Website which is hosted on Azure as a App Service and I was doing a Load Test of the site by using TinyGet and suddenly I could see the below exception. I kind of wondered what happened.



Web Servers - Internet information Server

It was during my engineering when I started using Web servers. Usually everyone starts with WAMP Server on windows.

I thought WAMP was a web server initially, but eventually I understood what WAMP stands for(Windows Apache MySQL PHP). So basically its a integrated package of Apache server software, MySQP and PHP. So WAMP internally makes use of Apache.