MySQL Forums
Forum List  »  Install & Repo

Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Posted by: Ashutosh N
Date: October 27, 2010 02:19PM

Hi,

Even I had the same issue.

Here is what /etc/my.cnf looks on my box. This is the fourth time I have re-installed mysql on my box after reading some posts in this thread ; but I still get this error when I say $ mysql -u root -p

----/etc/my.cnf ----

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

Do I need to modify this file ?

Thanks,

Options: ReplyQuote


Subject
Written By
Posted
June 27, 2009 08:29PM
Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
October 27, 2010 02:19PM
December 16, 2007 02:18AM
December 27, 2007 02:08PM
January 16, 2011 06:51AM
August 27, 2009 12:22AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.