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
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.

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.