当前位置:网站首页>MySQL START SLAVE Syntax
MySQL START SLAVE Syntax
2022-07-06 11:47:00 【wx5caecf2ed0645】
grammar
START SLAVE [thread_types] [until_option] [connection_options] [channel_option]
thread_types:
[thread_type [, thread_type] ... ]
thread_type:
IO_THREAD | SQL_THREAD
until_option:
UNTIL { {SQL_BEFORE_GTIDS | SQL_AFTER_GTIDS} = gtid_set
| MASTER_LOG_FILE = 'log_name', MASTER_LOG_POS = log_pos
| RELAY_LOG_FILE = 'log_name', RELAY_LOG_POS = log_pos
| SQL_AFTER_MTS_GAPS }
connection_options:
[USER='user_name'] [PASSWORD='user_pass'] [DEFAULT_AUTH='plugin_name'] [PLUGIN_DIR='plugin_dir']
channel_option:
FOR CHANNEL channel
gtid_set:
uuid_set [, uuid_set] ...
| ''
uuid_set:
uuid:interval[:interval]...
uuid:
hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh
h:
[0-9,A-F]
interval:
n[-n]
(n >= 1)
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
- 19.
- 20.
- 21.
- 22.
- 23.
- 24.
- 25.
- 26.
- 27.
- 28.
- 29.
- 30.
- 31.
- 32.
- 33.
- 34.
- 35.
- 36.
- 37.
- 38.
stay MySQL8 Use START SLAVE Encountered the following warning !
Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information
Use example sentences
START SLAVE USER='userName' PASSWORD='password'
- 1.
边栏推荐
- QT creator custom build process
- When using lambda to pass parameters in a loop, the parameters are always the same value
- wangeditor富文本组件-复制可用
- [BSidesCF_2020]Had_ a_ bad_ day
- QT creator support platform
- Yarn installation and use
- 【flink】flink学习
- C语言读取BMP文件
- 2020 WANGDING cup_ Rosefinch formation_ Web_ nmap
- Wangeditor rich text reference and table usage
猜你喜欢
vs2019 桌面程序快速入门
Wangeditor rich text reference and table usage
STM32型号与Contex m对应关系
error C4996: ‘strcpy‘: This function or variable may be unsafe. Consider using strcpy_s instead
Pytorch基础
Password free login of distributed nodes
MTCNN人脸检测
4、安装部署Spark(Spark on Yarn模式)
Vs2019 desktop app quick start
2019腾讯暑期实习生正式笔试
随机推荐
Vs2019 desktop app quick start
Mysql的索引实现之B树和B+树
[MRCTF2020]套娃
JS array + array method reconstruction
AcWing 1294. Cherry Blossom explanation
Learn winpwn (2) -- GS protection from scratch
【presto】presto 参数配置优化
【flink】flink学习
[yarn] CDP cluster yarn configuration capacity scheduler batch allocation
Stage 4 MySQL database
Aborted connection 1055898 to db:
PHP - whether the setting error displays -php xxx When PHP executes, there is no code exception prompt
SQL时间注入
天梯赛练习集题解LV1(all)
Antlr4 uses keywords as identifiers
保姆级出题教程
分布式节点免密登录
MySQL主从复制的原理以及实现
B tree and b+ tree of MySQL index implementation
Yarn installation and use