mac mysql error You must reset your password using ALTER USER statement before executing this statement.
安裝完mysql 之后,登陸以后链瓦,不管運行任何命令萄涯,總是提示這個
SET PASSWORD = PASSWORD('123456');
參考1: https://dev.mysql.com/doc/refman/5.6/en/alter-user.html
參考2: http://dev.mysql.com/doc/refman/5.7/en/password-expiration-policy.html
參考3: http://stackoverflow.com/questions/33467337/reset-mysql-root-password-using-alter-user-statement-after-install-on-mac