Home » Performance » MySQL » i had problem with mysql in linux
i had problem with mysql in linux [message #3770] Sat, 06 December 2008 09:49 Go to next message
kondaluavula  is currently offline kondaluavula
Messages: 1
Registered: December 2008
Junior Member
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
Re: i had problem with mysql in linux [message #3779 is a reply to message #3770 ] Tue, 09 December 2008 20:19 Go to previous messageGo to next message
januzi  is currently offline januzi
Messages: 100
Registered: December 2008
Senior Member
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:
Quote:


mysqladmin -u root password 'new-password'

Re: i had problem with mysql in linux [message #3823 is a reply to message #3770 ] Fri, 19 December 2008 02:57 Go to previous message
debug  is currently offline debug
Messages: 132
Registered: March 2008
Senior Member

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


Mikhail Solovyev, MySQL Performance Expert
MySQL Performance Blog
MySQL Consulting
Previous Topic:Main attributes of MYISAM engine that can affect performance
Next Topic:Slow-queries - Problems with mysql configuration
Goto Forum:
  


Current Time: Fri Jul 10 03:59:43 EDT 2009

Total time taken to generate the page: 0.00601 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software

MySQL is a trademark of Sun Microsystems.
InnoDB is a trademark of Oracle Corp.

Percona Performance Forums are a service of Percona, Inc.
Not affiliated with Sun Microsystems or Oracle Corp.