解决InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade
前面我们在解决宝塔MySQL无法开启时看到数据库错误日志显示InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade,如何解决呢?随ytkah一起来看看吧
进入ssh,
cd /www/server/mysql/bin ./mysql_upgrade -u root -p
输入数据库主密码后自动就会升级了,有碰到相同问题的朋友赶紧试一下吧
![wechat](https://img2023.cnblogs.com/blog/567218/202306/567218-20230609164902212-848609210.jpg)
加微信交流