MySQL啟動報錯InnoDB: The innodb_system data file './ibdata1' is of a different
MySQL異機遷移後,啟動資料庫報錯
# /data/mysql_57_software/bin/mysqld_safe --defaults-file=/etc/my3319.cnf --user=mysql & # tail -20 /var/log/mysqld3319.log 2019-01-02T07:11:01.716793Z 0 [ERROR] InnoDB: The innodb_system data file './ibdata1' is of a different size 17152 pages (rounded down to MB) than the 64000 pages specified in the .cnf file! 2019-01-02T07:11:01.716832Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2019-01-02T07:11:02.317322Z 0 [ERROR] Plugin 'InnoDB' init function returned error. 2019-01-02T07:11:02.317347Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2019-01-02T07:11:02.317353Z 0 [ERROR] Failed to initialize plugins. 2019-01-02T07:11:02.317361Z 0 [ERROR] Aborting
報錯原因:
引數檔案中的系統表空間大於實際的系統表空間大小,導致啟動報錯。
# du -sh /data/mysql_3319/ibdata1 268M /data/mysql_3319/ibdata1 # cat /etc/my3319.cnf # innodb innodb_data_file_path=ibdata1:1000M;ibdata2:1000M:autoextend
解決辦法:
將引數檔案中系統表空間的大小改為小於實際系統表空間大小的值。
# innodb innodb_data_file_path=ibdata1:256M;ibdata2:256M:autoextend
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26506993/viewspace-2287203/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [ERROR] InnoDB: ibdata1 different size (rounded down to MB)Error
- innodb_undo_tablespaces導致Mysql啟動報錯MySql
- MySQL啟動報錯:The server quit without updating PID fileMySqlServerUI
- mysql 啟動錯誤(InnoDB: Operating system error number 13 )MySqlError
- mysql 啟動報錯Can't connect to local MySQL server through socket '/data/mysql/mysql/mysql.sock'(111)MySqlServer
- oracle 匯入報錯:field in data file exceeds maximum lengthOracle
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- mysql innodb_data_file_path引數忘記設定或者重新調整辦法MySql
- Oracle啟動報錯:ORA-03113: end-of-file on communication channelOracle
- MySQL InnoDB File-Per-Table表空間MySql
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- MySQL:Innodb表 Data free 的計算概要MySql
- 如何選擇配置 MySQL innodb_log_file_sizeMySql
- Nginx安裝啟動過程報錯libpcre.so.1 cannot open shared object file: No such file or directoryNginxObject
- WebLogic啟動報Could not get the server file lockWebServer
- myeclipse啟動報錯Eclipse
- mysql ibdata1太大的原因MySql
- scp 報錯 not a regular file
- 升級到 MySQL 8.4,MySQL 啟動報錯:io_setup() failed with EAGAINMySqlAI
- 記一次令人絕望的mysql啟動報錯MySql
- 啟動mysql報錯“服務沒有響應控制功能”MySql
- MySQL 報錯 ERROR 1290 (HY000): running with the --secure-file-privMySqlError
- Homestead 啟動 elasticsearch 報錯Elasticsearch
- 本地nacos啟動報錯
- 【MySQL】ERROR 1290 (HY000): --secure-file-priv--匯出報錯MySqlError
- 處理mysql無法啟動且啟動時服務沒報錯的異常情況MySql
- Mac 上啟動 appium 報錯MacAPP
- apache啟動報錯:httpd: aprApachehttpd
- 解決啟動openfeign報錯
- laravel sail 首次啟動報錯LaravelAI
- ibdata1檔案損壞時恢復InnoDB單表測試
- querydsl報錯: Attempt to recreate a file for type
- 頁面報錯 No input file specified
- Mysql自動處理同步報錯MySql
- 網站轉移後無法開啟報錯提示“No input file specifed”網站
- 奇怪報錯資訊“db already exists with different case already have”解決方法
- 為Zabbix MySQL設定獨立表空間innodb_file_per_tableMySql
- Centos7啟動Nginx報錯。CentOSNginx