Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Suddenly can't access MySQL



> I really have no idea why this has suddenly happened, but I can no
> longer log into my MySQL server.
> 
> dave@example.com:~$ mysql -u root -p
> Enter password:
> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> password: YES)

Have you also tried:
  mysql -u root -p -h 127.0.0.1
  mysql -u root -p -h localhost

Perhaps there is some problem with unix sockets? And sometimes localhost
and 127.0.0.1 behave differently so I normally try both when debugging
problems like that.

Darren



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links