{"id":3940,"date":"2019-06-09T13:25:21","date_gmt":"2019-06-09T05:25:21","guid":{"rendered":"http:\/\/switch.linesno.com\/?p=3940"},"modified":"2019-06-09T13:25:21","modified_gmt":"2019-06-09T05:25:21","slug":"column-count-of-mysql-proc-is-wrong-expected-20found-16-the-table-is-probably-corruptd","status":"publish","type":"post","link":"http:\/\/switch.linesno.com\/?p=3940","title":{"rendered":"column count of mysql.proc is wrong. expected 20,found 16. the table is probably corruptd."},"content":{"rendered":"\n<p>1558 1547 column count of mysql.proc is wrong. expected 20,found 16. the table is probably corruptd.<br>\u5728\u7528navicat\u8fde\u63a5\u65f6\u53d1\u751f\u4e86\u4e00\u4e2a\u9519\u8bef\uff1a<br>1558 column count of mysql.proc is wrong.Expected20,found 16.created with mysql 50091,now running 50528.please use mysql_upgrade to fix this error\u3002<br><br>\u5176\u5b9e\u8fd9\u4e2a\u9519\u8bef\u5982\u679c\u4e0d\u662f\u7528\u5ba2\u6237\u7aef\u5de5\u5177\u7684\u8bdd\u662f\u53d1\u73b0\u4e0d\u4e86\u7684\uff0c\u56e0\u4e3a\u6211\u8fdc\u7a0b\u63a7\u5236\u65f6\u64cd\u4f5c\u662f\u6ca1\u6709\u8fd9\u4e2a\u95ee\u9898\u7684\u3002<br>\u67e5\u4e86\u4e0b\u8bf4\u662f\u8fd9\u4e2a\u662f\u7531\u4e8e\u5347\u7ea7\u540e\u672a\u4f7f\u7528mysql_upgrade\u5347\u7ea7\u6570\u636e\u7ed3\u6784\u6216\u7528\u4e0d\u540c\u7248\u672c\u8fdb\u884c\u5907\u4efd\u8fc1\u79fb\u6062\u590d\u9020\u6210\u7684\u3002<br>\u7528Navicat for mysql\u4f1a\u6709\u6b64\u9519\u8bef\u63d0\u793a\uff1a<br><br>\u89e3\u51b3\u65b9\u6cd5\uff1a<br>\u6700\u540e\u662f\u901a\u8fc7&#8221;mysql_upgrade -uroot -p&#8221;<\/p>\n\n\n\n<p>\u547d\u4ee4\u89e3\u51b3\u7684\u3002<br>\u76f4\u63a5\u7528cmd\u547d\u4ee4\u6267\u884c\u8fd9\u4e2a\uff0c\u7136\u540e\u8f93\u5165\u5bc6\u7801\u5c31\u597d\u4e86\u3002\u4f1a\u81ea\u52a8\u5347\u7ea7mysql\u91cc\u7684\u6570\u636e\u7ed3\u6784\u3002<br>\u5982:<\/p>\n\n\n\n<p>mysql_upgrade -u root -pjoy<\/p>\n\n\n\n<p>mysql_upgrade -u root -pjoy &#8211;datadir=\/var\/lib\/mysql\/ &#8211;basedir=\/usr\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1558 1547 column count of mysql.proc is wrong. expected [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-3940","post","type-post","status-publish","format-standard","hentry","category-day"],"_links":{"self":[{"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/posts\/3940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3940"}],"version-history":[{"count":1,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/posts\/3940\/revisions"}],"predecessor-version":[{"id":3941,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/posts\/3940\/revisions\/3941"}],"wp:attachment":[{"href":"http:\/\/switch.linesno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3940"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}