Table 'mysql.user' doesn't exist:ERROR

后端 未结 8 1655
不知归路
不知归路 2020-12-13 14:58

I am creating a db in mysql for a java program.My program works well in my friends system.But I have some problem with my mysql.

The query is below:

         


        
8条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-13 15:13

    My solution was to run

    mysql_upgrade -u root
    

    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.

提交回复
热议问题