当前位置:网站首页>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.cnfadd 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

边栏推荐
- SQL related knowledge - constraints
- Spark - 一文搞懂 parquet
- 1. foundation closing
- 在出海获客这件事上,数字广告投放之外,广告主还能怎么玩儿?
- 钉钉开放平台-小程序开发实战(钉钉小程序服务器端)
- 而是互联网开始有了新的进化,开始以一种全新的状态出现
- [QT] resource file import
- Introduction Guide to the flutterplugin plug-in in the actual combat of flutter
- MySQL est livré avec l'outil de test de performance MySQL lap pour effectuer des tests de résistance
- 解析JSON接口并批量插入到数据库中
猜你喜欢

The style of the mall can also change a lot. DIY can learn about it
![Which is the best embedded visual programming software? (introduction, evaluation and selection of visual programming platform) [scratch, mind+, mixly]](/img/9c/7af92e6ef907b443d974275614e51a.jpg)
Which is the best embedded visual programming software? (introduction, evaluation and selection of visual programming platform) [scratch, mind+, mixly]

【掘金运营套路揭露】真心被掘金的套路....
![[collection of good books] from technology to products](/img/b1/a119d61ff20d19d1e42e5c243de42c.png)
[collection of good books] from technology to products

一幅脑图总结一下需求分析(工作上实际遇到的情况的补充)

High performance computing center roce overview

Construction of art NFT trading platform | NFT mall

User control custom DependencyProperty

1. foundation closing

The open software of win10 system is too small. How to make it larger (effective through personal test)
随机推荐
第 4 篇:绘制四边形
Chrome page recording and playback function
Nailing open platform - applet development practice (nailing applet server side)
Implementation of seven classes of BlockingQueue interface
Yolov5 improvements: replace the backbone
How much do you make by writing a technical book? To tell you the truth, 2million is easy!
Use soapUI to access the corresponding ESB project
ipvs之ipvs0网卡
Which is the best embedded visual programming software? (introduction, evaluation and selection of visual programming platform) [scratch, mind+, mixly]
What preparation should I make before learning SCM?
How does virtual box virtual machine software accelerate the network speed in the virtual system?
NFT creation and binding of BSC and HT chains
go语言泛型在IDE中语法报错
R语言与机器学习
Small record of neural network learning 71 - tensorflow2 deep learning with Google Lab
商城风格也可以很多变,DIY 了解一下
Report on operation mode and future development trend of China's refining and chemical market 2022-2028
After a test of 25K bytes, I really saw the basic ceiling
線程同步之讀寫鎖
[Flink] Flink batch mode map side data aggregation normalizedkeysorter