且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

表'mysql.user'不存在:错误

更新时间:2022-06-22 02:41:57

我的解决方案是运行

mysql_upgrade -u root

场景:我使用自制升级"更新了Mac上的MySQL版本.此后,一些东西起作用了,但是其他命令引发了问题中描述的错误.

Scenario: I updated the MySQL version on my Mac with 'homebrew upgrade'. Afterwards, some stuff worked, but other commands raised the error described in the question.