I am getting the following error in mysql operation.
ERROR 1558 (HY000): Column count of mysql.user is wrong. Expected 42, found 39. Created with MySQL 50173, now running 50556. Please use mysql_upgrade to fix this error.
Solution:
Login to the server
[root@blackmagic ~]# mysql_upgrade -u root -p
Enter password:
(Enter your password)
This will fix the issue and its solved.
ERROR 1558 (HY000): Column count of mysql.user is wrong. Expected 42, found 39. Created with MySQL 50173, now running 50556. Please use mysql_upgrade to fix this error.
Solution:
Login to the server
[root@blackmagic ~]# mysql_upgrade -u root -p
Enter password:
(Enter your password)
This will fix the issue and its solved.
No comments:
Post a Comment