Local mysql: Access denied for user 'root'@'localhost'

In terminal I typed mysql -u root and got an error message like:
mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

I’ve tried with and without the password with no luck.
I’ve tried using Sequel Pro and had similar problems.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.