摘要: 二进制日志: 1先确认正在用的是哪个日志: show master status; 2查看当前日志文件的事件: show binlog events in 'mysql-bin.000003'; 3通过位置号截取二进制日志: mysqlbinlog --start-position --stop-p 阅读全文
posted @ 2021-02-02 13:43 linuxTang 阅读(115) 评论(0) 推荐(0)
摘要: 实例一: 1误删除world库里的city.frm文件后,发现city表没了 [root@instance-r5y0pf5d ~]# cd /data/mysql/data/world [root@instance-r5y0pf5d /data/mysql/data/world]# ls city. 阅读全文
posted @ 2021-02-02 12:08 linuxTang 阅读(100) 评论(0) 推荐(0)