Help!! no connection with MySQL database

Discussion in 'Apache' started by scriptaty, Jul 15, 2008.

  1. #1
    Well,I think this is the best place to write bout this.

    I got WAMPSERVER2 in my local computer .It is WAMP 5.I installed it very clearly and didn't touched any sopurce code till now.But when I got to localhost/phpmyadmin then it says

    Error
    MySQL said:

    #2003 - Can't connect to MySQL server on 'localhost' (10061)


    will you please help me to solve this problem?
     
    scriptaty, Jul 15, 2008 IP
  2. Slincon

    Slincon Well-Known Member

    Messages:
    1,320
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    180
    #2
    check the port number, you may be connection to the wrong port.
     
    Slincon, Jul 15, 2008 IP
  3. scriptaty

    scriptaty Banned

    Messages:
    522
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am just new to it .will you please describe it clearly?

    Actually, I don't know anything about these softwares.But just know about PHP little bit (I mean I can understand and write simple programs)
    Before this, I had already this server but while formatting I deleted it and now it's not running which I downloaded form sourceforge.
     
    scriptaty, Jul 15, 2008 IP
  4. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Make sure mySQL is turned on.
     
    Dondon2d, Jul 15, 2008 IP
  5. scriptaty

    scriptaty Banned

    Messages:
    522
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #5
    how to see if MySQL is turned or or not?I just installed it.
     
    scriptaty, Jul 15, 2008 IP
  6. dukahme

    dukahme Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    check if mysql is running. do this at the c:\ prompt-->netstat -an. check if mysql's port (3306) is present. If not, run it.
     
    dukahme, Jul 15, 2008 IP