+ Reply to Thread
Results 1 to 3 of 3

Thread: Mysql password help

  1. #1
    nuwanpra's Avatar
    nuwanpra is offline x10Hosting Member nuwanpra is an unknown quantity at this point
    Join Date
    Jan 2010
    Location
    Colombo, Sri Lanka
    Posts
    45

    Mysql password help

    Hi,

    I was following a Video tutorial and successfully installed WAMP.

    As advice on tutorial I tried to set a password for user 'root'. But I couldn't do it using MySql console. It was giving a error message saying there is a syntax error. (where user='root')

    So I tried to do it using phpmyadmin. and manually created the password of root.

    Now I cant connect to any thing as normal.

    phpmyadmin says:#1130 - Host 'localhost' is not allowed to connect to this MySQL server

    Can anyone help me?

    If I reinstall WAMP, will it work?


  2. #2
    bhupendra2895's Avatar
    bhupendra2895 is offline x10 Elder bhupendra2895 is an unknown quantity at this point
    Join Date
    Jun 2010
    Location
    India
    Posts
    554

    Re: Mysql password help

    Are you able to login in mysql console?
    Also post the query you ran in phpmyadmin.It will be helpful for resolution of this problem.Of course reinstall can fix this, but I don't recommend fixing problems in this way because we won't be able to know how to resolve this error when this problem will occur again.
    Liked this? Click on the icon on the bottom of post to make me .

  3. #3
    nuwanpra's Avatar
    nuwanpra is offline x10Hosting Member nuwanpra is an unknown quantity at this point
    Join Date
    Jan 2010
    Location
    Colombo, Sri Lanka
    Posts
    45

    Re: Mysql password help

    No I'm unable to log in from Mysql console too.

    I actually didn't run a query in phpmyadmin. What I did is manually browsed to mysql db and to user table then typed the password in both password fields of root and 127.0.0.1. Then I clicked on GO.

    Last edited by nuwanpra; 08-23-2010 at 10:21 AM.

+ Reply to Thread

Similar Threads

  1. username and password problm of Mysql DB
    By shailender.t92 in forum Free Hosting
    Replies: 1
    Last Post: 07-05-2010, 02:38 AM
  2. username and password problm of Mysql DB
    By shailender.t92 in forum Programming Help
    Replies: 1
    Last Post: 07-05-2010, 02:38 AM
  3. MySQL Password and username invalid
    By martipe in forum Free Hosting
    Replies: 2
    Last Post: 03-13-2010, 06:34 AM
  4. MYSQL Password
    By apoobanaan in forum Free Hosting
    Replies: 3
    Last Post: 12-26-2009, 10:11 AM
  5. How to check mysql username and password
    By Tideas in forum Free Hosting
    Replies: 5
    Last Post: 08-30-2007, 09:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers