MySQL: ERROR 1045 ?

Discussion in 'PHP' started by Baron Smith, Sep 18, 2009.

  1. #1
    hi, I am new to the PHP and installed PHP , Apache on my system. But while installing MySql, I got an error

    mySQL: ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)

    How to resolve this ? Please help:mad:
     
    Last edited: Sep 18, 2009
    Baron Smith, Sep 18, 2009 IP
  2. Oli3L

    Oli3L Active Member

    Messages:
    207
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    70
    #2
    try putting these:

    server/host : localhost
    username : root
    password : keep it blank
     
    Oli3L, Sep 18, 2009 IP
  3. pneulameiro

    pneulameiro Peon

    Messages:
    440
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Oli3L give you tha right answer. The default mysql installation does not give root a password.
     
    pneulameiro, Sep 18, 2009 IP