Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: ravis007 on November 11, 2009, 10:05:49 AM

Title: How to solve this mysql error
Post by: ravis007 on November 11, 2009, 10:05:49 AM
Hi,
I have fresh installed fedora 10 on my system.
Now I want to connect to mysql.
But whenever I try to connect mysql, it gives error like :

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Even I have not set password for mysql, then also I am not getting mysql prompt.
I have tried to sort it out, but unsuccessful.......

Will you please guide me to resolve this issue....

Thanks in advance .................
Title: Re: How to solve this mysql error
Post by: sandeepvson on November 12, 2009, 06:58:09 AM
Reset password by
mysqladmin -u root password "new-password"