+ Reply to Thread
Results 1 to 5 of 5

Thread: Access denied for user 'user'@'localhost' (using password: YES)

  1. #1
    elnasiru96 is offline x10Hosting Member elnasiru96 is an unknown quantity at this point
    Join Date
    Jun 2010
    Posts
    11

    Access denied for user 'user'@'localhost' (using password: YES)

    Gudday fellow programmers. I'm in a big mess.
    I'm using Wamp, and my mysql server has a user= 'root, with password='otlPHP07'.
    yesterday i created a database among others and added a user='user' with grants/privileges for update,delete,insert,select.
    in phpmyadmin i saw the privileges for 'user' but then. BOOOOMMMM!!
    after quiting mysql cmdline. I can't re_access it again with the password above and i cant even access phpmyadmin on the browser. i just see " Access denied for user 'user'@'localhost' (using password: YES)". Pls how can i resolve this issue. i have alot of work to do and my databse is not even backed up. thanx

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Access denied for user 'user'@'localhost' (using password: YES)

    As always, check the manual.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    mandy0 is offline x10Hosting Member mandy0 is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Mumbai->India
    Posts
    32

    Re: Access denied for user 'user'@'localhost' (using password: YES)

    check if you have removed 127.0.0.1 ip from allowed ip list in mysql database config. I don't exactly remember how to do it.. but google is always there to help you. And PHPMyAdmin access might be blocked due to wrong password of root.

  4. #4
    contact85's Avatar
    contact85 is offline x10Hosting Member contact85 is an unknown quantity at this point
    Join Date
    Oct 2010
    Location
    Bandar Lampung
    Posts
    6

    Re: Access denied for user 'user'@'localhost' (using password: YES)

    re configure your database, maybe :D,

  5. #5
    Tariqul Islam's Avatar
    Tariqul Islam is offline x10 Sophmore Tariqul Islam is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Bangladesh
    Posts
    182

    Re: Access denied for user 'user'@'localhost' (using password: YES)

    maybe your newly created user 'user' have no password. the password is set for 'root' but not for 'user'. check it. try to login with user and no password.



+ Reply to Thread

Similar Threads

  1. Replies: 2
    Last Post: 07-31-2010, 03:41 PM
  2. Replies: 17
    Last Post: 04-22-2010, 08:17 PM
  3. Access denied for user (SQL)
    By recklessabandon in forum Free Hosting
    Replies: 3
    Last Post: 02-17-2010, 06:17 PM
  4. Replies: 1
    Last Post: 03-06-2009, 01:58 AM
  5. Access denied for user...
    By mudme in forum Free Hosting
    Replies: 7
    Last Post: 01-02-2007, 03:57 PM

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