当前位置:网站首页>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 events7.查看binlog的配置
show VARIABLES LIKE "%log%"边栏推荐
- matlab / ENVI 主成分分析实现及结果分析
- Several key steps of software testing, you need to know
- How to solve sqlstate[hy000]: General error: 1364 field 'xxxxx' doesn't have a default value error
- leetcode 509. Fibonacci Number(斐波那契数字)
- 博士申请 | 上海交通大学自然科学研究院洪亮教授招收深度学习方向博士生
- VIM mapping large K
- 程序员的日常 | 每日趣闻
- Abnova 免疫组化服务解决方案
- Basic DOS commands
- How can I check the DOI number of a foreign document?
猜你喜欢

JWT 认证

Markdown displays pictures side by side

安装VMmare时候提示hyper-v / device defender 侧通道安全性

缓存在高并发场景下的常见问题

「运维有小邓」符合GDPR的合规要求

Installing redis and windows extension method under win system

Cloudcompare point pair selection

Go straight to the 2022ecdc fluorite cloud Developer Conference: work with thousands of industries to accelerate intelligent upgrading
![[SOC FPGA] custom IP PWM breathing lamp](/img/4b/5053137cf95e851ca89057e9b9c15c.jpg)
[SOC FPGA] custom IP PWM breathing lamp

港科大&MSRA新研究:关于图像到图像转换,Fine-tuning is all you need
随机推荐
C language interview to write a function to find the first occurrence of substring m in string n.
Implementation of VGA protocol based on FPGA
[start from scratch] detailed process of deploying yolov5 in win10 system (CPU, no GPU)
线性代数(一)
Unable to debug screen program with serial port
企业如何进行数据治理?分享数据治理4个方面的经验总结
Abnova循环肿瘤DNA丨全血分离,基因组DNA萃取分析
C interview 24 (pointer) define a double array with 20 elements a
安装mongodb数据库
Installing redis and windows extension method under win system
[SOC FPGA] peripheral PIO button lights up
C language interview to write a function to find the first public string in two strings
C面试24. (指针)定义一个含有20个元素的double型数组a
【解决】Final app status- UNDEFINED, exitCode- 16
How to use wechat cloud hosting or cloud functions for cloud development of unapp development applet
What are the classic database questions in the interview?
Redhat5 installing vmware tools under virtual machine
隐马尔科夫模型(HMM)学习笔记
How to find the literature of a foreign language journal?
[SOC FPGA] custom IP PWM breathing lamp