当前位置:论坛首页 > Linux面板 > Linux面板教程

MySQL主从复制(重构板)2.0 使用教程

发表在 Linux面板2023-6-2 17:46 [复制链接] 31 28338

发表于 2025-5-29 14:44:16 | 显示全部楼层
如果端口号不是3306如何解决
使用道具 举报 回复 支持 反对
发表于 3 天前 | 显示全部楼层
主库删除前一天的二进制日志后,无论怎么添加从库都会同步失败,错误信息提示这个
Last_IO_Error        Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires. Replicate the missing transactions from elsewhere, or provision a new slave from backup. Consider increasing the master's binary log expiration period. The GTID sets and the missing purged transactions are too long to print in this message. For more information, please see the master's error log or the manual for GTID_SUBTRACT.'
使用道具 举报 回复 支持 反对
123
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表