Error im mysql

Chris G cl at isbd.net
Thu Mar 19 09:15:51 UTC 2009


On Thu, Mar 19, 2009 at 06:15:23AM +0000, jiten jha wrote:
> Dear friends
>                   I finish install mysql when i set root password then it is
> showing error then how can i set this error.
> 
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
> 
Note that it's saying "using password: NO", you haven't started it in
a way where you supply a password.

If you are trying to run from the command line you need to enter:-

    mysql -user=root -p

and then you will be prompted for a password.

-- 
Chris Green




More information about the ubuntu-users mailing list