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

边栏推荐
- After a test of 25K bytes, I really saw the basic ceiling
- Getter actual combat geTx tool class encapsulation -getutils
- 【掘金运营套路揭露】真心被掘金的套路....
- R language and machine learning
- [LOJ 6718] nine suns' weakened version (cyclic convolution, arbitrary modulus NTT)
- 使用Jsoup提取接口中的图片
- asp.net网页选择身份进行登录的简单代码,asp连接数据库,使用asp:Panel、asp:DropDownList控件
- MapReduce execution principle record
- 线程同步之条件变量
- Wechat applet is bound to a dynamic array to implement a custom radio box (after clicking the button, disable the button and enable other buttons)
猜你喜欢

Spark - 一文搞懂 parquet

Camera memory memory leak analysis (III)

Read / write lock for thread synchronization

神经网络学习小记录71——Tensorflow2 使用Google Colab进行深度学习

Understand CGI and fastcgi

Conditional variables for thread synchronization

Etcd watch principle

Unity mobile game performance optimization spectrum CPU time-consuming optimization divided by engine modules

Quanergy welcomes Lori sundberg as chief human resources officer

What should I do if the 51 SCM board cannot find the device in keil
随机推荐
Analysis report on development trend and market demand of global and Chinese molecular diagnostics industry from 2022 to 2028
Capture packets (Wireshark)
NFT creation and binding of BSC and HT chains
(15) Blender source code analysis flash window display menu function
Parse JSON interface and insert it into the database in batch
Analysis of updatechild principle of widget update mechanism of fluent
35岁程序员炒Luna 千万资产3天归零,网友:和赌博一样
【QT】对话框dialog
SQL related knowledge - DDL
使用Jsoup提取接口中的图片
微软禁止俄用户下载安装Win10/11
刷题记录Day01
mysql自带的性能测试工具mysqlslap执行压力测试
Conditional variables for thread synchronization
Mutex of thread synchronization (mutex)
After four years of outsourcing, people are directly abandoned...
Force buckle 515 Find the maximum value in each tree row
[Flink] a brief analysis of the writing process of Flink sort shuffle
VHDL design
Which is the best embedded visual programming software? (introduction, evaluation and selection of visual programming platform) [scratch, mind+, mixly]