Jump to content


Photo

[SOLVED] PhpMyadmin not working


  • Please log in to reply
7 replies to this topic

#1 coder500

coder500

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 04 September 2008 - 03:59 AM

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
A beginner looking forward to learn more...
http://www.worth2read.org/
http://www.worth2read.org/blog

#2 Zane

Zane

    Advanced Member

  • Moderators
  • 3,783 posts
  • LocationMurphy, NC

Posted 04 September 2008 - 04:03 AM

shot in the dark.....
are you sure your server is on port 8080


don't have much to go on really..
btn_donate_SM.gif  Want to thank me?  Contribute to my PayPal piggy-bank
 
401299.png

#3 coder500

coder500

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 04 September 2008 - 04:10 AM

Yes.
I already have IIS on my server. It is on port 80.
So I changed port of wampserver to 8080.


A beginner looking forward to learn more...
http://www.worth2read.org/
http://www.worth2read.org/blog

#4 Zane

Zane

    Advanced Member

  • Moderators
  • 3,783 posts
  • LocationMurphy, NC

Posted 04 September 2008 - 04:22 AM

can you connect to mysql through the command prompt?
btn_donate_SM.gif  Want to thank me?  Contribute to my PayPal piggy-bank
 
401299.png

#5 coder500

coder500

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 04 September 2008 - 04:51 AM

No. I can not connect.
There is another mysql also in the system other than the mysql in wamp.
Any help...
A beginner looking forward to learn more...
http://www.worth2read.org/
http://www.worth2read.org/blog

#6 wildteen88

wildteen88

    Advanced Member

  • Staff Alumni
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 04 September 2008 - 12:49 PM

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.

#7 coder500

coder500

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 04 September 2008 - 09:59 PM

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.

A beginner looking forward to learn more...
http://www.worth2read.org/
http://www.worth2read.org/blog

#8 Zane

Zane

    Advanced Member

  • Moderators
  • 3,783 posts
  • LocationMurphy, NC

Posted 05 September 2008 - 01:48 AM

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
btn_donate_SM.gif  Want to thank me?  Contribute to my PayPal piggy-bank
 
401299.png




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com