Mysql报错:[ERROR] mysqld File ‘.mysql-bin.010228‘ not found (Errcode 2 “No such file or directory“) 背景: 迁移数据库,源数据库没有启用binlog,将源数据库关闭后整库拷贝到目标数据库并开启binlog 启动mysql报错,查看日志 tail -f -n 200 error.log 有报错: 2022-05-23 19:00:53 0 [ERROR] mysqld: File ‘./mysql-bin.010228’...
2023-04-13 13:37 1136 0
MySQL基于GTID主从同步异常-跳过 1、从库(slave节点)获取正在读取的binlog文件和pos位置 mysql>show slave status/G 2、主库(master节点)确认备库事务相对与主库的位置 show binlog events in ‘mysql-bin.000022’ from 1814 limit 2/G 3、停止从库 mysql>stop slave; 4、在session里设置gtid_next,即跳过这个GTID mysql>SET @@...
2022-02-19 19:56 1649 0
mysql8.0.23使用xbstream命令时报错: [root@HKA-LCM701743 software]# xbstream -x < /data/xjk/backup/mysql_xtrak/10.21.55.126-backup_20220219030001.xbstream -C /data/mysql xbstream: error while loading shared libraries: libssl.so: cannot open shared object file: No such file or directory 分析是环境变量问题。 解决方案:...
2022-02-19 18:35 2457 0