mysql启动不成功,报错

mysql InnoDB: Error: could not open single-table tablespace file


innodb_force_recovery


参考
https://blog.csdn.net/qq_16752369/article/details/78070515
https://www.cnblogs.com/glon/p/6728380.html


mysql启动成功后:

ps -aux|grep mysql
root 14939 0.6 0.0 11816 1624 pts/2 S 10:45 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/data/mysql --pid-file=/data/mysql/mysql.pid
mysql 15779 2.3 2.5 1995912 206708 pts/2 Sl 10:45 0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/data/mysql --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/data/mysql/mysql-error.log --open-files-limit=65535 --pid-file=/data/mysql/mysql.pid --socket=/tmp/mysql.sock --port=3306

相关文章:

  • 2021-07-24
  • 2021-05-21
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
  • 2021-09-15
  • 2021-06-22
  • 2021-08-08
猜你喜欢
  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2021-09-20
相关资源
相似解决方案