I tried setting up a WordPress website on Azure Virtual Machine.
Instead of installing MySQL DB. I tried creating an Azure DB for MySQL (Flexible Server) in the same network with the private access and gave the database details in the wp-config.php file in the server.
While loading the webpage with the IP Address in the browser. I am receiving "Error establishing connection with database"
Can you please help me resolve this.
apache and php used.