On Fri, Mar 5, 2010 at 1:27 PM, selvamani sampath
<[email protected]> wrote:
> I installed mysql-admin, mysql-server, and mysql-client5.1. But I got the 
> error message while trying mysql in terminal. The error is :
>
> selvam...@selvamani-laptop:~$ mysql
> ERROR 1045 (28000): Access denied for user 'selvamani'@'localhost' (using 
> password: NO)
> selvam...@selvamani-laptop:~$
>
> Could any one help me to resolve this problem.

By default MySQL creates only the root account with no password. Use
"mysql -u root". Before that, create a root password using "mysqladmin
-u root password <password_goes_here>"

Then use "mysql -u root -p " to access the service. It is always
better to set a strong root password, even if it is not a production
system.

-- 


Salvadesswaran Srinivasan

http://www.twitter.com/salva_eswar
http://queasyquagmire.wordpress.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to