I can't connect to MySQL server on 'localhost' (10061)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samnav
    New Member
    • May 2006
    • 6

    #1

    I can't connect to MySQL server on 'localhost' (10061)

    Hello,

    I know this question was asked many times before but I couldn't find a solution that works for me.
    I've installed an apache server (2.2.6), PHP (5.2) and MySQL (5.0.45) in my windows XP SP2.
    I've configured everything as needed (or at least I think so)
    and tested my MySQL with a small php page on the localhost but the browser showed the error:

    "Can't connect to MySQL server on 'localhost' (10061)"

    I've tried many things but and now I'm pretty stuck. Is Navicat (www.navicat.co m) a good try?

    thanks.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    The first thing is probably to check if MySQL is running at all.
    Can you connect to it from the a command prompt?

    Comment

    • samnav
      New Member
      • May 2006
      • 6

      #3
      yes, thank you for your advice and I just able to connect to the server after checking. Also, Navicat is worth to try too.

      Comment

      Working...