Reset MySQL root password using ALTER USER statement after install on Mac

后端 未结 19 2279
慢半拍i
慢半拍i 2020-11-29 14:21

I\'m new to the whole Mac experience. I recently installed MySQL and it seems I have to reset the password after install. It won\'t let me do anything else.

Now I al

19条回答
  •  天涯浪人
    2020-11-29 15:10

    When you use SET PASSWORD = PASSWORD('your_new_password'); it may crash for it

    (ERROR 1819 (HY000): Your password does not satisfy the current policy requirements)

    .you can use SET GLOBAL validate_password_policy=LOW; to slove it.

提交回复
热议问题