Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Prefer SSL connection to source (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-pie authored May 9, 2024
1 parent 572e08a commit 75a56e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @transferwise/analytics-platform
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(name='pipelinewise-tap-mysql',
version='1.5.6',
version='1.6.0',
description='Singer.io tap for extracting data from MySQL & MariaDB - PipelineWise compatible',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion tap_mysql/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __init__(self, config):
"charset": "utf8",
}

ssl_arg = None
ssl_arg = {"": True}

if config.get("database"):
args["database"] = config["database"]
Expand Down
2 changes: 1 addition & 1 deletion tap_mysql/sync_strategies/binlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ def create_binlog_stream_reader(
server_id = int(config.get('server_id'))
LOGGER.info("Using provided server_id=%s", server_id)
else:
server_id = random.randint(1, 2 ^ 32) # generate random server id for this slave
server_id = random.randint(1, 2 ** 32 - 1) # generate random server id for this slave
LOGGER.info("Using randomly generated server_id=%s", server_id)

engine = config['engine']
Expand Down

0 comments on commit 75a56e1

Please sign in to comment.