Jump to content

[SOLVED] PhpMyadmin not working


Recommended Posts

I have installed wamp server.

When I try to access phpmyadmin the following error comes :

------------------------------------------------------------------------

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 given by the administrator of the MySQL server.

 

Error

MySQL said: 

 

#2005 - Unknown MySQL server host 'localhost:8080' (11001)

------------------------------------------------------------------------------

Any help will be very much appreciated...

Thanks

Link to comment
https://forums.phpfreaks.com/topic/122680-solved-phpmyadmin-not-working/
Share on other sites

I have installed wamp server.

When I try to access phpmyadmin the following error comes :

------------------------------------------------------------------------

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 given by the administrator of the MySQL server.

 

Error

MySQL said:

 

#2005 - Unknown MySQL server host 'localhost:8080' (11001)

------------------------------------------------------------------------------

Any help will be very much appreciated...

Thanks

PHPMyAdmin is configured incorrectly. PHPMyadmin is trying to connect to your MySQL server via port 8080. Port 8080 is only for your HTTP server (Apache). MySQL runs on port 3306, this is the port PHPMyAdmin should use for connecting to MySQL.

 

I know earlier I suggested you to change the port WAMP uses to 8080 as you have IIS installed. But did you make any further changes other than what I told you? Can you post your PMA configuration here.

I reinstalled wampserver.

The present situation is as follows.

After installing wampserver I edited Apache--- httpd.conf file and set Listen to port 8080.

Since there was My Sql already in my system and it is using port 3306 I edited MySql---my.ini and changed the port 3307.

Could you please tell me where is the configuration file of phpmyadmin.

C:/Wamp/www contains only an index file, no other files or directories there.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.