Answer the question
In order to leave comments, you need to log in
Why is there an access denied error in mysql?
I installed MySQL on OS X El Captain, during the installation a notification appeared with a password for the root user - I saved this password. I started the mysql server, mysql -u root -p, entered the password, to which I received: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES). Anyone suggest what is the problem? For the second day I can not figure it out.
Answer the question
In order to leave comments, you need to log in
Try it without a password (without the -p switch), often the default setting for [email protected] will let you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question