V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
lolizeppelin
V2EX  ›  MySQL

mariadb 多源复制 reset slave 要重启才能删除 channel

  •  
  •   lolizeppelin · May 1, 2018 · 4015 views
    This topic created in 2926 days ago, the information mentioned may be changed or developed.

    mariadb 10.3.2 多源复制

    从库

    stop slave 'channel name'
    
    reset slave 'channel name'
    

    relay-bin 文件不会不会被删除

    show all slaves status 里还能看见, 只是 pos 什么都是 0

    需要重启进程 channel 才能消失.... 不重启的话, 新 channel 如果 ip 端口相同不能添加....

    真是蛋碎

    mysql 也有这问题不?

    1 replies    2018-05-01 19:22:36 +08:00
    lolizeppelin
        1
    lolizeppelin  
    OP
       May 1, 2018
    - - 找到了有个 all 参数
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   918 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 18:32 · PVG 02:32 · LAX 11:32 · JFK 14:32
    ♥ Do have faith in what you're doing.