Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corrupted

后端 未结 8 549
灰色年华
灰色年华 2020-11-28 09:51

I am using 000webhost.com and I am using phpMyAdmin there. I am getting this error from MySQL when I run my PHP script as the title says:

Column count of

8条回答
  •  旧巷少年郎
    2020-11-28 10:33

    I was using a windows 10 system and the solution that worked for me was mysql_upgrade -u root -p

    But you need to ensure that the path to the mysql_upgrade script which is present in the mysql/bin folder of your installation directory needs to be added in the environment variable path for this command to work

提交回复
热议问题