SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2005
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can't connect to MySQL server on 'localhost' (was "Ran into a problem with MySQL")

    Im new to PHP and mysql, I have everything installed on my computer (php mysql, apache) and I was using it without any problems until yesterday. I went to connect to mysql via the command prompt and I get an error when trying to connect to the server.

    C:\Progam Files\MySQL\Bin>mysql -h localhost -u root -p
    Enter password: ********
    ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

    so, yeah I dunno what happend. Maybe I screwed up MySQL in a anti-spyware/virus removal routine. If somone could point me in the right direction that would be great.

  2. #2
    reads the ********* Crier silver trophybronze trophy longneck's Avatar
    Join Date
    Feb 2004
    Location
    Tampa, FL (US)
    Posts
    9,854
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    that's the error you get when mysql is not running or a firewall is blocking access.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •