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