报错如下:
[ERROR] Found 1 prepared transactions! It means that mysqld was not shut down properly last time and critical recovery information (last binlog or tc.log file) was manually deleted after a crash. You have to start mysqld with --tc-heuristic-recover switch to commit or rollback pending transactions.
配置文件加了:innodb_force_recovery = 1 Google 了下都让使用如下命令,恢复不成功
mysqld_safe --tc-heuristic-recover=COMMIT