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/", line 53, in check_data_consistency\n File "/mysql/utilities/common/", line 67, in __init__\n File "/mysql/utilities/common/", line 200, in __init__\n File "/mysql/utilities/common/", line 262, in _connect_to_servers\n File "/mysql/utilities/common/", line 284, in get_server\n File "/mysql/utilities/common/", line 977, in connect\n File "/mysql/utilities/common/", line 1028, in get_connection\n File "/usr/lib/python2.6/site-packages/mysql/connector/", line 179, in connect\n return MySQLConnection(*args, **kwargs)\n File "/usr/lib/python2.6/site-packages/mysql/connector/", line 95, in __init__\n self.connect(**kwargs)\n File "/usr/lib/python2.6/site-packages/mysql/connector/", line 728, in connect\n self._open_connection()\n File "/usr/lib/python2.6/site-packages/mysql/connector/", line 228, in _open_connection\n self._ssl)\n File "/usr/lib/python2.6/site-packages/mysql/connector/", line 150, in _do_auth\n ssl_options.get('cipher'))\n File "/usr/lib/python2.6/site-packages/mysql/connector/", 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

Written By
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.