My SQL user

Discussion in 'PHP' started by Dolin, Dec 8, 2007.

  1. #1
    HI I used xampp and in phpmyadmin, i accidentally deleted the user root@localhost and I can't connect to the database any more. How do I recreate this user. My php admin page now shows only the error code. Also how do I change the password and user for MySQL?
     
    Dolin, Dec 8, 2007 IP
  2. cocacolafun

    cocacolafun Peon

    Messages:
    119
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Doesn't look good ... sorry
     
    cocacolafun, Dec 8, 2007 IP
  3. Dolin

    Dolin Banned

    Messages:
    143
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    HI I managed to reinstall xampp.
     
    Dolin, Dec 8, 2007 IP
  4. nuketro0p3r

    nuketro0p3r Peon

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This is how i create users in mysql through the mysql console.
    Hope it helps :)

    Thanks.
     
    nuketro0p3r, Dec 9, 2007 IP