当前位置:网站首页>Windows mysql5.7 enable binlog log
Windows mysql5.7 enable binlog log
2022-06-28 22:23:00 【Liangmeng】
Inquire about MySQL Whether the database log function is enabled
stay MySQL Under the installation directory of bin Catalog , Open console , Sign in root user .

Inquire about log switch ,off On behalf of closed ,on Representative opens .
You can see that the current status is closed .
show variables like '%log_bin%';

Turn on log function
Enter the following directory , find my.ini The configuration file
C:\ProgramData\MySQL\MySQL Server 5.7

Add red part

log-bin=mysql-bin
binlog-format=Row
restart MySQL service

Query the log switch again

The switch has been turned on
Enter into the above figure log In the file directory
![]()
You can see that there are two new files

Delete a record , Then query the log information .

show binlog events;
Refer to the following article :
Mysql-Windows Lower open binlog And view
---------------------------------------------------------- Split line --------------------------------------------------------------
On the other MySQL On the server , Found in C:\ProgramData There's no... In the catalog MySQL Folder

This situation goes directly to MySQL In the installation directory of , find my.ini file

Add red part

# Binary Logging
server_id=1918
log_bin = mysql-bin
binlog_format = ROW
restart MySQL service

Inquire about log state

You can see that the log recording function has been enabled .
Refer to the following article :
windows Environmental Science mysql Turn on binlog Log method - Dandelion cloud
边栏推荐
- 水哥的代码
- 论文解读(DCN)《Towards K-means-friendly Spaces: Simultaneous Deep Learning and Clustering》
- flutter通过 GlobalKey 获取界面任意元素坐标尺寸
- Rule engine development experience sharing - reddit
- Ctrip will push the "3+2" working mode: 3 days a week on duty and 2 days of free choice of office space. Do you envy it?
- MSCI 2022年市场分类评估
- 稳!上千微服务如何快速接入 Zadig(Helm Chart 篇)
- 【电子实验2】简单电子门铃
- VR全景创业为了把控风险,如何选择加盟公司?
- 运维体系建设思考 - 稳定性篇
猜你喜欢

运维体系建设思考 - 稳定性篇

Zadig + 洞态 IAST:让安全溶于持续交付

In one sentence, I will tell you the meaning of select 1, 2 and 3 in SQL injection, and explain the meaning of each part of SQL injection in detail

Icon fill color and background color change together

ADB regular use of work notes

稳!上千微服务如何快速接入 Zadig(Helm Chart 篇)

Analysis of CSRF Cross Site Request Forgery vulnerability

Get to know Alibaba cloud (Cloud Computing) - development history, technical architecture, region and availability zone!

PE file-

基于graph-linked embedding的多组学单细胞数据整合与调控推理
随机推荐
Sword finger offer:[day 1 stack and queue (simple)] --- > use two stacks to realize the queue
现在还能入“坑”数据分析吗?看看2022年数据分析热门岗位!
软件测试的三个沟通技巧
TCP three handshakes and four waves
YAYA LIVE CTO 唐鸿斌:真正本地化,要让产品没有「产地」属性
Description détaillée du schéma technique du sous - environnement syntonique auto - test de Zadig pour les développeurs
Akamai acquires linode
Research Report on workers: middle-aged people account for the highest proportion of naked words
关于杠杆的思考
Detailed explanation of Zadig's self-test and joint debugging sub environment for developers
终于有人把云原生架构讲明白了
Pat 1024 palindromic number (25 points) sum of large integers
【HackTheBox】 meow
Set when quartz scheduled task trigger starts
Zadig + 洞态 IAST:让安全溶于持续交付
阿海的忠告
LxC shared USB device
Architecture design of e-commerce secsha system
以产业互联网的发展为开端,行业才能进入到一个全新的发展阶段
2022-06-28:以下golang代码输出什么?A:true;B:false;C:panic;D:编译失败。 package main import “fmt“ func main() {