I have a new MBP with Yosemite. I have installed the latest version of MySQL (5.6.21 via the pkg file) and have successfully set up its password and see it through Sequel Pro. However, I cannot login to mysqladmin. Normally, like with Ubuntu, I can do:
mysqladmin -u root -p
But terminal dumps me to the helpful help file. Of course, the rules haven't changed. The help file confirms that if I leave off the password after the -p argument that the TTY will take over but it does not.
mysqladmin -u root --password
yields the same help message.
mysqladmin -u root -password 'password'
asks for a password expected BUT when I pass it then yields unknown command 'password'.
I did do the /usr/local/bin/mysql_secure_installation script but didn't change any values. If my root password has changed why would I still be able to connect via sequel pro and other PHP connections?
I'm sure it's something I'm overlooking but appreciate is there's something I've not found in my Google searches, thanx, sam