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:
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.