Colderleo's blog Colderleo's blog
首页
Linux
C++
Python
前端
工具软件
mysql
索引
关于
GitHub (opens new window)

Colder Leo

热爱代码的打工人
首页
Linux
C++
Python
前端
工具软件
mysql
索引
关于
GitHub (opens new window)
  • binlog主从备份
  • binlog主从同步
  • 7和设置密码、访问权限
  • create database指定字符集
  • cnf 配置文件位置
  • mysql group by 分组后取最大值
  • mysql workbench社区版
  • select update
  • 7
  • 插入数据时忽略重复的key
  • 创建临时表
  • 入门学习
  • 索引的使用
  • 通过select插入
  • 性能优化-mysql全局设置
  • 修改字段顺序
  • 插入
  • mysql
gaoliu
2021-10-06

binlog主从备份

主 140, 从16

# 192.168.100.140

授权

GRANT REPLICATION SLAVE ON *.* to 'root'@'192.168.100.16' identified by 'siye2020';
1

/etc/my.conf

#binlog
log-bin=mysql_binlog
server-id=1
expire_logs_days = 8

sync_binlog=0
binlog_format=mixed
binlog-do-db=test
1
2
3
4
5
6
7
8
编辑 (opens new window)
上次更新: 2021/10/11, 12:43:58
binlog主从同步

binlog主从同步→

最近更新
01
通过模板实现结构体成员拷贝-按成员名匹配
05-07
02
c++17通过模板获取类成员的个数
05-01
03
avx-sse切换惩罚
04-30
更多文章>
Theme by Vdoing | Copyright © 2019-2023 Colder Leo | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式
×