Unable to connect to PhpMyAdmin on Azure App Service

Viewed 26

Azure App service plan now have an excellent option to install WordPress. I was able to install WP in App Service in Azure Gov as well as in Public cloud.

As per the documentation one can access PhpMyAdmin which comes with the WP installation on Azure App Service, by going to the website/phpmyadmin.

The problem comes when trying to login into PhpMyAdmin. Which user and password should we be using? Is it the Database_User_name and Database_password that is configured in Application Configuration section of App Service? Because it is not working.

BTW, I was able to go to my-azure-wp-website/wp-admin page based on the administrator details provided during the creation process. My question is why I am unable to access PhpMyAdmin using the configuration data in App Service?

1 Answers

hi andy try the user and password : root if the problem persists this is maby a problem of port in your config.inc.php

  1. Locate your config.inc.php file which relates to PHPMyAdmin.

  2. Locate the line $cfg['Servers'][$i]['host'] mainly this line may have been commented out by default, if so, uncomment it.

  3. And replace that line with the following:

$cfg['Servers'][$i]['host'] = '127.0.0.1';

  1. Save it and replace the MySQL database from your XAMPP control panel.

  2. Modify the value of your $host parameter in the mysqli_connect() method as follows:

$_connection = mysqli_connect("localhost:youports", $_mysql_username, $_mysql_password, $_database);

show this doc https://docs.phpmyadmin.net/fr/latest/config.html

Related