Webmaster's Community

Designing and Development => Programming => Topic started by: Anay on May 23, 2011, 12:49:55 PM

Title: EasyPHP- windows 7(access denied for user 'root'@'localhost' (using password
Post by: Anay on May 23, 2011, 12:49:55 PM
Ok I am trying to run mysql on windows 7 machine and I installed easyPHP for that. Now I remember that had not installed easyphp with any password. but it is giving error.

I tried following command
Code: [Select]
mysql -u root
then it gives error as follows

Code: [Select]
access denied for user 'root'@'localhost' (using password YES)
but I can access phpmyadmin with blank password without error.

any solution in this problem ?
Title: Re: EasyPHP- windows 7(access denied for user 'root'@'localhost' (using password
Post by: omi on June 10, 2011, 10:21:48 AM
HI you need to do it like

Code: [Select]
mysql -u <user name here> -pAfter that type password. But if user name permission is not correct then you can't login this way either.