当前位置:网站首页>mysql主从架构 ,主库挂掉重启后,从库怎么自动连接主库
mysql主从架构 ,主库挂掉重启后,从库怎么自动连接主库
2022-07-28 07:34:00 【CSDN问答】
从库的连接状态 ,binlog 的文件名是 000005

主库的连接状态,没重启之前文件名是000005 ,这没问题。 重启之后binlog文件变成了 000006
这样的话从库一辈子也连不上啊。

主从架构,如果主库挂掉,是不是必须要重新建立主从关系,如果有简单的方法,请支一下招
边栏推荐
- Alibaba technology has four sides + intersection +hr, and successfully got the offer. Can't double non undergraduate students enter the big factory?
- Gbase appears in Unicom cloud Tour (Sichuan Station) to professionally empower cloud ecology
- Ciou loss
- Redis 基本知识,快来回顾一下
- JS inheritance method
- What are the main uses of digital factory management system
- Bluetooth technology | it is reported that apple, meta and other manufacturers will promote new wearable devices, and Bluetooth will help the development of intelligent wearable devices
- A new method of exposing services in kubernetes clusters
- 我来教你如何组装一个注册中心?
- Kubernetes technology and Architecture (VII)
猜你喜欢

You're not still using xshell, are you? This open source terminal tool is yyds!

思迈特软件Smartbi完成C轮融资,推动国产BI加速进入智能化时代

Gbase appears in Unicom cloud Tour (Sichuan Station) to professionally empower cloud ecology

Uniapp ---- detailed steps to obtain the longitude and latitude of the current position and other information (including applet)

说透缓存一致性与内存屏障

谷歌 Material Design 的文本框为什么没人用?

Data analysis interview question summary

Quickly build a gateway service, dynamic routing and authentication process, and watch the second meeting (including the flow chart)

TXT文本文件存储

bash-shell 免交互
随机推荐
Bash shell interaction free
Go waitgroup and defer
【软考软件评测师】2013综合知识历年真题
谷歌 Material Design 的文本框为什么没人用?
Blog building 7: Hugo
Go interface advanced
Win the bid! Nantah general gbase 8s won the bid for the 2022 database framework project of NARI Group
Analysis of model predictive control (MPC) (IX): numerical solution of quadratic programming (II)
c语言数组指针和指针数组辨析,浅析内存泄漏
Go synergy
NDK series (6): let's talk about the way and time to register JNI functions
Ciou loss
Chapter 2-14 sum integer segments
Why setting application.targetframerate doesn't work
阿里技术四面+交叉面+HR面,成功拿到offer,双非本科进不了大厂?
象棋机器人夹伤7岁男孩手指,软件测试工程师的锅?我笑了。。。
Why can ThreadLocal achieve thread isolation?
Let me teach you how to assemble a registration center?
The cooperation between starfish OS and metabell is just the beginning
oracle sql 问题