Cannot open phpMyAdmin (Windows)

I downloaded XAMPP three days ago and I keep getting this error while trying to open phpmyadmin.

phpMyAdmin tried to connect to the MySQL server and the server rejected the connection. You must check the host, username and password in your configuration and make sure that they match the information provided by the MySQL server administrator.

I didn’t even set a password, because I can’t open the security page, I continue to receive a page error message.

How to fix it?

+5
source share
1 answer

First of all, try connecting to MySQL through the command line to check if the MySQL server is working and the user password is correct.

mysql -u USERNAME -p PASSWORD 

If you can successfully connect to the server, go to the phpmyadmin configuration file and change the connection string configuration.

See this: http://docs.phpmyadmin.net/en/latest/setup.html

But if you cannot connect to the MySQL server, your problem is your server, not phpmyadmin. Therefore, go to the xampp control panel and configure the server configuration file.

+4
source

Source: https://habr.com/ru/post/1235507/


All Articles