最近有遇到Bug了,有点严重,唯一的办法就是升级,不仅升级操作系统还要升级数据库,做了几轮测试、写了几十页的详细操作文档,今天上线挂备库跑两周,然后找个窗口就割接了。报错日志记录一下
2021-03-11T15:04:48.123593+08:00 0 [Warning] InnoDB: Table mysql/innodb_table_stats has length mismatch in the column name table_name. Please run mysql_upgrade2021-03-11T15:04:48.123640+08:00 0 [Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade
解决办法:
mysql_upgrade -u root -p -S /xx/xx/socket/mysql.sock
企业版MySQL 5.7.18 升级到社区版MySQL 5.7.33还是很顺利的~
近期要升级的小伙伴有啥疑问可以来找我交流~