环境
192.168.0.223,centos8,宝塔7.4.5,安装了mysql8,端口3306,已对局域网开方,局域网可远程连接mysql
192.168.0.224,centos8,宝塔7.4.5,安装了mysql8,端口3306,已对局域网开方,局域网可远程连接mysql
两个宝塔都购买了mysql主从同步插件
在使用测试的过程中
无论是哪台做主,哪台做从,都会报错。报错结果如下
比如:223做主上配置mysql主服务器
223主
然后224上配置从服务器
最后报错
224从错误1
已经确认,IP正确,主服务器3306端口已开放。
224上可以远程连接223的mysql
----------------------------------------------------------------------------
反向操作,利用224当主,223当从,配置方法如上图没变,最后报错截图如下
错误信息文字部分如下
- 抱歉,出错了:
- Traceback (most recent call last):
- File "class/flask_sockets.py", line 30, in __call__
- handler, values = adapter.match()
- File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
- raise NotFound()
- werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "class/panelPlugin.py", line 1924, in a
- return eval(execStr)
- File "", line 1, in
- File "plugin/masterslave/masterslave_main.py", line 710, in SetSlave
- masterinfo = self.BackUpMasterDbs(get)
- File "plugin/masterslave/masterslave_main.py", line 625, in BackUpMasterDbs
- decode_master_key = self._decode_master_key(get,master_ip)
- File "plugin/masterslave/masterslave_main.py", line 500, in _decode_master_key
- masterinfo = json.loads(base64.b64decode(get.keys))
- File "/www/server/panel/pyenv/lib/python3.7/base64.py", line 87, in b64decode
- return binascii.a2b_base64(s)
- binascii.Error: Incorrect padding
复制代码
---------------------------
请管理员看一下问题
|
-
224从错误
|