[root@localhost ~]# innobackupex --copy-back sql.back/
210504 00:02:07 innobackupex: Starting the copy-back operation
IMPORTANT: Please check that the copy-back run completes successfully.
At the end of a successful copy-back run innobackupex
prints "completed OK!".
解决方案:先装mysql服务,不启动。删除/var/lib/mysql/* 目录下的所有文件。
把全备过来的数据库重新导入即可
MYSQL报错集:
-----------------------------------------------------------------------