coder500 Posted September 4, 2008 Share Posted September 4, 2008 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 Quote Link to comment Share on other sites More sharing options...
Zane Posted September 4, 2008 Share Posted September 4, 2008 shot in the dark..... are you sure your server is on port 8080 don't have much to go on really.. Quote Link to comment Share on other sites More sharing options...
coder500 Posted September 4, 2008 Author Share Posted September 4, 2008 Yes. I already have IIS on my server. It is on port 80. So I changed port of wampserver to 8080. Quote Link to comment Share on other sites More sharing options...
Zane Posted September 4, 2008 Share Posted September 4, 2008 can you connect to mysql through the command prompt? Quote Link to comment Share on other sites More sharing options...
coder500 Posted September 4, 2008 Author Share Posted September 4, 2008 No. I can not connect. There is another mysql also in the system other than the mysql in wamp. Any help... Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted September 4, 2008 Share Posted September 4, 2008 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. Quote Link to comment Share on other sites More sharing options...
coder500 Posted September 5, 2008 Author Share Posted September 5, 2008 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. Quote Link to comment Share on other sites More sharing options...
Zane Posted September 5, 2008 Share Posted September 5, 2008 go back a directory......there should be a folder called apps it's pretty straight forward after that and the conf file for phpmyadmin is callled config.inc.php I think Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.