解決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

 

  輸入數據庫主密碼后自動就會升級了,有碰到相同問題的朋友趕緊試一下吧

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM