WordPress Site on Azure: Database Connection Issue After Migration
I need some help with an issue I'm facing after migrating my WordPress site to Azure. Initially, everything worked fine after the migration, and the site was functioning using my migrated database credentials. However, after a few hours, I started getting the following error: Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/wordpress/wp-includes/class-wpdb.php on line 1982 When I checked the MySQL server, I couldn't find the server or user specified in the wp-config.php file. I tried updating the config file with a new Azure MySQL user and credentials, but it still doesn't work.__
Warning__: mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/wordpress/wp-includes/class-wpdb.php on line 1982
No such file or directory