本帖最后由 谢花郎 于 2019-12-10 14:17 编辑
尝试用 sql-repair.sh 修复mysql,输出如下
# wget -O sql-repair.sh http://download.bt.cn/install/sql-repair.sh && sh sql-repair.sh
--2019-12-10 13:11:51-- http://download.bt.cn/install/sql-repair.sh
Resolving download.bt.cn... 119.147.144.34, 125.88.182.172, 240e:ff:9000:1100:0:3:0:35
Connecting to download.bt.cn|119.147.144.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19399 (19K) [application/octet-stream]
Saving to: “sql-repair.sh”
100%[======================================================================================================================>] 19,399 --.-K/s in 0.03s
2019-12-10 13:11:51 (596 KB/s) - “sql-repair.sh” saved [19399/19399]
du: cannot access `/www/server/data/mysql-bin.*': No such file or directory
ERROR! MySQL server PID file could not be found!
mv: cannot stat `/www/server/data/mysql-bin.*': No such file or directory
Starting MySQL.... ERROR! The server quit without updating PID file (/www/server/data/iZ237fi5137Z.pid).
==========================================================================================
2019-12-10T05:11:52.736683Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2019-12-10T05:11:54.014035Z 0 [ERROR] InnoDB: Cannot open '/www/server/data/ib_buffer_pool' for reading: No such file or directory
2019-12-10T05:11:54.055448Z 0 [ERROR] Unix socket lock file is empty /tmp/mysql.sock.lock.
2019-12-10T05:11:54.055460Z 0 [ERROR] Unable to setup unix socket lock file.
2019-12-10T05:11:54.055475Z 0 [ERROR] Aborting
==========================================================================================
mysql start error.
mysql无法正常启动,请将以上错误信息截图发至论坛寻求帮助
|
|