当前位置:网站首页>MySQL enable logbin in Qunhui docker
MySQL enable logbin in Qunhui docker
2022-06-26 04:13:00 【Dudu listing】
Qunhui access terminal :
Run the command :
apt-get update
apt-get install vim
see
[email protected]:/# which mysql
/usr/bin/mysql
[email protected]:/# /usr/bin/mysql --verbose --help | grep -A 1 'Default options'
Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf ~/.my.cnf
[email protected]:/#
Use the found in the previous step mysql Executable Directory , lookup mysql The directory of the configuration file , After searching, multiple directories will be output ,mysql Read the configuration from these files in order , If the previous configuration file does not exist, the next one will be read , By analogy .
edit
vi /etc/mysql/my.cnf
add to
restart mysql
service mysqld restart
Enter after execution mysql Check whether the configuration is effective
It can be seen that , Successfully opened binlog
Test in the program CDC
, Delete and add fields . Program trigger
边栏推荐
- How do wechat applets delay? Timing? Execute a piece of code after? (kengji)
- WPF 值转换
- [Flink] Flink source code analysis - creation of jobgraph in batch mode
- Analysis of updatechild principle of widget update mechanism of fluent
- mysql自带的性能测试工具mysqlslap执行压力测试
- What should I do if the 51 SCM board cannot find the device in keil
- Flask入门
- 在出海获客这件事上,数字广告投放之外,广告主还能怎么玩儿?
- 力扣 515. 在每个树行中找最大值
- Development prospect and investment strategic planning report of global and Chinese PVC hose industry from 2022 to 2028
猜你喜欢
【QT】资源文件导入
解析JSON接口并批量插入到数据库中
商城风格也可以很多变,DIY 了解一下
Computer network high frequency interview questions
Unity mobile game performance optimization spectrum CPU time-consuming optimization divided by engine modules
[Flink] a brief analysis of the writing process of Flink sort shuffle
Detailed explanation of globalkey of flutter
Using jsup to extract images from interfaces
Analysis of camera memory memory leakage (II)
钉钉开放平台-小程序开发实战(钉钉小程序客户端)
随机推荐
R语言与机器学习
1. foundation closing
解析JSON接口并批量插入到数据库中
In 2022, what professional competitions can college students majoring in automation, electrical engineering and automation participate in?
Nailing open platform - applet development practice (nailing applet client)
YOLOv5改进:更换骨干网(Backbone)
Introduction Guide to the flutterplugin plug-in in the actual combat of flutter
Analysis of updatechild principle of widget update mechanism of fluent
Analysis of the principle of obxwidget
Analysis report on development status and future trend of CMOS image sensor industry in China 2022 ~ 2028
Matplotlib multi line chart, dot scatter chart
Which is the best embedded visual programming software? (introduction, evaluation and selection of visual programming platform) [scratch, mind+, mixly]
VHDL design
asp. Net web page, ASP connects to the database, and uses asp:panel and asp:dropdownlist controls
[collection of good books] from technology to products
go语言泛型在IDE中语法报错
如何解决 Iterative 半监督训练 在 ASR 训练中难以落地的问题丨RTC Dev Meetup
Dix critères de base importants pour les essais de débogage de logiciels
How do wechat applets delay? Timing? Execute a piece of code after? (kengji)
NFT creation and binding of BSC and HT chains