When I will try to access phpMyAdmin from another device it getting an error.
“phpMyAdmin tried to connect to the MySQL server, and the server rejected
the connection.
You should check the host, username, and password in your configuration and make sure that they correspond to
the information was given by the administrator of the MySQL server”.
How to access Enable Remote Access to phpMyAdmin?
To resolve this problem follow the below steps:
1. Open apache/conf/extra/httpd-xampp.conf file.
2. Add Require all granted
<Directory "/xampp/phpMyAdmin"> AllowOverride AuthConfig Require local ...
Replace:
<Directory "/xampp/phpMyAdmin"> AllowOverride AuthConfig Require all granted ...
3. Save the file and restart the Xampp
Question and answer is powered by AnsPress.io