Mysqladmin: connect to server at 'localhost' failed
Posted on 2013-12-09
I am taking a course in PHP on Lynda.com and I need to know why the following command line code won't work.
mysqladmin -u root password
then I get this error message
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
This is a brand new mysql setup on my desktop Mac I am running OS X 10.9. I know all about Mamp but to do this course I have to do it this way.
So please help me get this figured out.