-1

I get this error message:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

when i try to enter mysql from terminal (Macos).

0

1 Answer 1

1

I have seen this before. Have you set you root password properly? Before trying to login, set the password and ensure that permissions allow root from localhost to login.

Last I remembered, if you have not explicitly allowed root from localhost to login or some sort of wildcard that covers that, you will get such an error.

Not the answer you're looking for? Browse other questions tagged or ask your own question.