mysql 啟動不起來 mysql 啟動不了

2021-10-17 13:54:15 字數 2070 閱讀 4176

dpkg -i mysql-common...deb

dpkg -i mysql-community-client...deg

dpkg -i mysql-client...deb

dpkg -i mysql-community-server...deb

dpkg -i mysql-server...deb

但是啟動的時候報錯

[my-010116] [server] /usr/sbin/mysqld (mysqld 8.0.21) starting as process 2029

[system] [my-011012] [server] starting upgrade of data directory.

[system] [my-013576] [innodb] innodb initialization has started.

[error] [my-012224] [innodb] tablespace flags are invalid in datafile: ./ibdata1, space id:0, flags: 21. please refer to for how to resolve the issue.

[error] [my-012237] [innodb] corrupted page [page id: space=0, page number=0] of datafile './ibdata1' could not be found in the doublewrite buffer.

[error] [my-012930] [innodb] plugin initialization aborted with error data structure corruption.

[error] [my-011013] [server] failed to initialize dd storage engine.

[error] [my-010020] [server] data dictionary initialization failed.

[error] [my-010119] [server] aborting

[system] [my-010910] [server] /usr/sbin/mysqld: shutdown complete (mysqld 8.0.21) mysql community server - gpl

我跟著錯誤日誌中的鏈結去設定了 innodb_force_recovery = 1, 再重啟 systemctl restart mysql.service , 又報錯了

[system] [my-010116] [server] /usr/sbin/mysqld (mysqld 8.0.21) starting as process 1169

[system] [my-011012] [server] starting upgrade of data directory.

[system] [my-013576] [innodb] innodb initialization has started.

[error] [my-012936] [innodb] database upgrade cannot be accomplished with innodb_force_recovery > 0

[error] [my-012930] [innodb] plugin initialization aborted with error generic error.

[error] [my-011013] [server] failed to initialize dd storage engine.

[error] [my-010020] [server] data dictionary initialization failed.

[error] [my-010119] [server] aborting

[system] [my-010910] [server] /usr/sbin/mysqld: shutdown complete (mysqld 8.0.21) mysql community server - gpl

我是 mysql 菜雞,技窮了,請各位大佬指點一手,現在是剛安裝,沒有資料,所以怎麼搞都可以?

Xampp裡Mysql服務啟動不起來,錯誤1067

在xampp裡mysql以服務方式啟動失敗,提示錯誤是 1067 程序意外終止 解決方法 1 進入 xampp安裝目錄 2 進入mysql bin 目錄,開啟my.ini 修改 mysqld port 3306 socket xampp mysql mysql.sock basedir xampp ...

zabbix agent 啟動不起來

遇到乙個問題zabbix agent 一直啟動不起來 檢視zabbix agent日誌檔案才究其原因。tail var log zabbix zabbix agentd.log zabbix agentd 3805 cannot create pid file var run zabbix zabb...

MySQL啟動不起來和關閉不了的問題記錄

昨天centos系統上的mysql,不能啟動 一直在啟動中,不停的.也不報錯,就一直啟動中 也不能關閉 和啟動效果一樣 甚至 ps aux grep mysql kill 9 1591 這樣直接殺死程序,再重新啟動,還是一樣的。最後發現,在 var lib mysql中有mysql bin.0000...