Column count of mysql.db is wrong. Expected 22, found 20. The table is probably

아래와 같은 에러를 확인할때

[ERROR] Column count of mysql.db is wrong. Expected 22, found 20. The table is probably corrupted
[ERROR] mysql.user has no `Event_priv` column at position 29
[ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.

 

mysql_upgrade --force -uroot -p [your mysql root password]

끝!

 

Leave your Comment

Your email address will not be published. Required fields are marked *