当前位置:论坛首页 > 第三方应用 > Linux面板插件

【待反馈】MySQL主从复制重构版配置后同步状态异常

发表在 第三方应用2022-9-7 11:08 [复制链接] 4 1956

按操作步骤配置完主从同步后,从数据库数据有导入,但是同步状态异常,修复提示:从服务器用户无法链接从服务器,端口都是通的,是否哪里要配置下?
异常信息如下:*************************** 1. row ***************************
               Slave_IO_State: Connecting to master
                  Master_Host: 192.168.0.77
                  Master_User: MY6tV4xR
                  Master_Port: 8086
                Connect_Retry: 60
              Master_Log_File:
          Read_Master_Log_Pos: 4
               Relay_Log_File: mysql-relay.000001
                Relay_Log_Pos: 4
        Relay_Master_Log_File:
             Slave_IO_Running: Connecting
            Slave_SQL_Running: Yes
              Replicate_Do_DB:
          Replicate_Ignore_DB:
           Replicate_Do_Table:
       Replicate_Ignore_Table:
      Replicate_Wild_Do_Table: midg_app_market.%
  Replicate_Wild_Ignore_Table:
                   Last_Errno: 0
                   Last_Error:
                 Skip_Counter: 0
          Exec_Master_Log_Pos: 0
              Relay_Log_Space: 154
              Until_Condition: None
               Until_Log_File:
                Until_Log_Pos: 0
           Master_SSL_Allowed: No
           Master_SSL_CA_File:
           Master_SSL_CA_Path:
              Master_SSL_Cert:
            Master_SSL_Cipher:
               Master_SSL_Key:
        Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
                Last_IO_Errno: 2003
                Last_IO_Error: error connecting to master 'MY6tV4xR@192.168.0.77:8086' - retry-time: 60  retries: 1
               Last_SQL_Errno: 0
               Last_SQL_Error:
  Replicate_Ignore_Server_Ids:
             Master_Server_Id: 0
                  Master_UUID:
             Master_Info_File: /mdata/data/master.info
                    SQL_Delay: 0
          SQL_Remaining_Delay: NULL
      Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
           Master_Retry_Count: 86400
                  Master_Bind:
      Last_IO_Error_Timestamp: 220907 10:25:34
     Last_SQL_Error_Timestamp:
               Master_SSL_Crl:
           Master_SSL_Crlpath:
           Retrieved_Gtid_Set:
            Executed_Gtid_Set: 5fc27a82-29ca-11ed-870e-fa163e8ae5df:1-5,
f43025e0-0178-11ec-8c96-fa163e42ae7b:1-3174
                Auto_Position: 1
         Replicate_Rewrite_DB:
                 Channel_Name:
           Master_TLS_Version:




使用道具 举报 只看该作者 回复
发表于 2022-9-7 11:19:16 | 显示全部楼层
您好,有错误的,错误提示:error connecting to master 'MY6tV4xR@192.168.0.77:8086' - retry-time: 60  retries: 1
这里提示的是数据库同步用户无法去连接,所以报错异常了。您那边可删除同步任务重新添加下
使用道具 举报 回复 支持 反对
发表于 2022-9-7 15:40:46 | 显示全部楼层
谢花郎 发表于 2022-9-7 11:19
您好,有错误的,错误提示:error connecting to master 'MY6tV4xR@192.168.0.77:8086' - retry-time: 60   ...

试过了,一直是同样的问题,网络是通的,账号密码也正确,换了一台从服务器也是一样的情况。
使用道具 举报 回复 支持 反对
发表于 2022-9-8 09:37:39 | 显示全部楼层
宝塔用户_dbmcdl 发表于 2022-9-7 15:40
试过了,一直是同样的问题,网络是通的,账号密码也正确,换了一台从服务器也是一样的情况。 ...

您那边如果方便的话,可下载Todesk远程工具,我远程您那边协助您看下具体问题
使用道具 举报 回复 支持 反对
发表于 2023-4-22 21:57:09 | 显示全部楼层
谢花郎 发表于 2022-9-8 09:37
您那边如果方便的话,可下载Todesk远程工具,我远程您那边协助您看下具体问题 ...

有确定是什么问题吗?我也是这个报错。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表