table 'mysql.proc' doesn't exist问题解决

在写存储过程的时候发生这样的错误提示:

table 'mysql.proc' doesn't exist

在网上查了下,原来是把mysql这个数据库给drop了。而如果重新安装又麻烦,又没有备份。

解决方法如下:

双击打开安装的时候的安装包,

table 'mysql.proc' doesn't exist问题解决

然后点击“Next”,

然后再选择“Repair”就可以了。

table 'mysql.proc' doesn't exist问题解决

就会发现mysql这个表回来了。

table 'mysql.proc' doesn't exist问题解决