flush privileges
说明:
ERROR:Your password does not satisfy the current policy requirements. 说明密码过于简单用字母加数字组合试下,或者修改validate_password_policy,可参考:https://hoststud.com/resources/resolved-mysql-error-your-password-does-not-satisfy-the-current-policy-requirements.464/
brew services start mysql(后台启动mysql) mysql.server start mysql.server stop mysql.server restart(不在后台运行)
参考:
https://www.cnblogs.com/mumue/p/3816185.htmlhttps://blog.csdn.net/csdnzhiwang/article/details/103375413