当前位置:网站首页>MYSQL binlog相关命令
MYSQL binlog相关命令
2022-07-07 02:22:00 【TomcatLikeYou】
1.查看所有binlog日志列表
show master logs;
2.查看master状态,即最后(最新)一个binlog日志的编号名称,及其最后一个操作事件pos结束点(Position)值
show master status;
3.刷新log日志,自此刻开始产生一个新编号的binlog日志文件
flush logs;
注:每当mysqld服务重启时,会自动执行此命令,刷新binlog日志;在mysqldump备份数据时加 -F 选项也会刷新binlog日志;
4.重置(清空)所有binlog日志
reset master;
5.查询所有连接信息
show processlist;
6.查看binlog内容
show binlog events
7.查看binlog的配置
show VARIABLES LIKE "%log%"
边栏推荐
- How can I check the DOI number of a foreign document?
- docker-compose启动redis集群
- matlab / ENVI 主成分分析实现及结果分析
- C language interview to write a function to find the first public string in two strings
- Install mongodb database
- Postgresql源码(59)分析事务ID分配、溢出判断方法
- Go straight to the 2022ecdc fluorite cloud Developer Conference: work with thousands of industries to accelerate intelligent upgrading
- [solution] final app status- undefined, exitcode- 16
- Jmeter 5.5版本发布说明
- 2022 Android interview essential knowledge points, a comprehensive summary
猜你喜欢
FlexRay通信协议概述
[FPGA] EEPROM based on I2C
Prompt for channel security on the super-v / device defender side when installing vmmare
dolphinscheduler3. X local startup
学术报告系列(六) - Autonomous Driving on the journey to full autonomy
Cloudcompare point pair selection
How can I check the DOI number of a foreign document?
Abnova 膜蛋白脂蛋白体技术及类别展示
快速定量,Abbkine 蛋白质定量试剂盒BCA法来了!
Redis(二)—Redis通用命令
随机推荐
docker-compose启动redis集群
Common problems of caching in high concurrency scenarios
JWT 认证
屏幕程序用串口无法调试情况
c语言(结构体)定义一个User结构体,含以下字段:
Pinduoduo lost the lawsuit: "bargain for free" infringed the right to know but did not constitute fraud, and was sentenced to pay 400 yuan
力扣62 不同路径(从矩阵左上到右下的所有路径数量) (动态规划)
字符串常量与字符串对象分配内存时的区别
UIC (configuration UI Engineering) public file library adds 7 industry materials
string(讲解)
Unity C# 函数笔记
Several key steps of software testing, you need to know
Postgresql源码(59)分析事务ID分配、溢出判断方法
Cloudcompare point pair selection
Navicat importing 15g data reports an error [2013 - lost connection to MySQL server during query] [1153: got a packet bigger]
隐马尔科夫模型(HMM)学习笔记
How to find the literature of a foreign language journal?
[solution] final app status- undefined, exitcode- 16
怎样查找某个外文期刊的文献?
Postgresql源码(60)事务系统总结