i had problem with mysql in linux

Hi ,

Now i want to use MySQL as per my requirements, My OS is Linux(Fedora). I installed MySQL is successfully, when i connect to the MySQL Server i got the following error.

error: ‘Access denied for user ‘root’@‘localhost’ (using password: NO)’

How can i solve it ? , kindly help me.

Thanks
Edukondalu Avula

Are You logging from the shell (command line) ? You could try with:
mysql -u root -p
after this mysql will ask You for the password (I`m not sure how it looks like in the Fedora, but there should be question about default password at the end of installation)

or maybe:

[B]Quote:[/B]

mysqladmin -u root password ‘new-password’

Please check this guide
http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions .html