November 25, 2024, 03:42:49 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: How to solve this mysql error  (Read 4516 times)

Offline ravis007

  • Linux Noob !
  • *
  • Posts: 9
How to solve this mysql error
« 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 .................

Offline sandeepvson

  • Linux Noob !
  • *
  • Posts: 10
Re: How to solve this mysql error
« Reply #1 on: November 12, 2009, 06:58:09 AM »
Reset password by
mysqladmin -u root password "new-password"