首页 > 数据库 >mysql相关的问题

mysql相关的问题

时间:2023-02-07 16:56:29浏览次数:48  
标签:-- error 问题 xtrabackup file mysql undo001 相关

1、使用xtrabackup恢复数据时报错

  • (1)报错
]# xtrabackup --defaults-file=/usr/local/mysql/conf/my.cnf --copy-back --target-dir=./20230206-full
xtrabackup: File 'undo001' not found (Errcode: 2 - No such file or directory)
InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
[01] error: cannot open file undo001
[01] Error: copy_file() failed.
  • (2)解决问题
  • 通过百度“File 'undo001' not found”获知,要将innodb_undo_tablespaces注释掉。
]# vim /usr/local/mysql/conf/my.cnf
#innodb_undo_tablespaces                = 3

1

#                                                                                                                                   #

标签:--,error,问题,xtrabackup,file,mysql,undo001,相关
From: https://www.cnblogs.com/maiblogs/p/17099032.html

相关文章