MySQL Forums
Forum List  »  General

mysqlrplsync thorws python error
Posted by: Arun Varadharajan
Date: July 01, 2021 03:41AM

Currently we are using mysql 5.7 in Centos 6 with mysql-connector-python-commercial-2.1.7-1.1.el6.x86_64, mysql-utilities-commercial-1.5.3-1.el6.noarch

[root@space-0319022020000019 ~]# python --version

Python 2.6.6

[root@space-0319022020000019 ~]# /usr/bin/mysqlrplsync --master=repAdmin:[FILTERED]@x.x.x.x:3306 --slaves=repAdmin:[FILTERED]@y.y.y.y:3306

Traceback (most recent call last):\n File "/usr/bin/mysqlrplsync", line 270, in <module>\n data_to_include, data_to_exclude)\n File "/mysql/utilities/command/rpl_sync_check.py", line 53, in check_data_consistency\n File "/mysql/utilities/common/rpl_sync.py", line 67, in __init__\n File "/mysql/utilities/common/topology.py", line 200, in __init__\n File "/mysql/utilities/common/topology.py", line 262, in _connect_to_servers\n File "/mysql/utilities/common/server.py", line 284, in get_server\n File "/mysql/utilities/common/server.py", line 977, in connect\n File "/mysql/utilities/common/server.py", line 1028, in get_connection\n File "/usr/lib/python2.6/site-packages/mysql/connector/__init__.py", line 179, in connect\n return MySQLConnection(*args, **kwargs)\n File "/usr/lib/python2.6/site-packages/mysql/connector/connection.py", line 95, in __init__\n self.connect(**kwargs)\n File "/usr/lib/python2.6/site-packages/mysql/connector/abstracts.py", line 728, in connect\n self._open_connection()\n File "/usr/lib/python2.6/site-packages/mysql/connector/connection.py", line 228, in _open_connection\n self._ssl)\n File "/usr/lib/python2.6/site-packages/mysql/connector/connection.py", line 150, in _do_auth\n ssl_options.get('cipher'))\n File "/usr/lib/python2.6/site-packages/mysql/connector/network.py", line 420, in switch_to_ssl\n ssl_version=ssl.PROTOCOL_TLSv1, ciphers=cipher)\nTypeError: wrap_socket() got an unexpected keyword argument 'ciphers'


Please help us how to resolve this issue. This issue is not occurring in all the installations.

Options: ReplyQuote


Subject
Written By
Posted
mysqlrplsync thorws python error
July 01, 2021 03:41AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.