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

Prefer SSL connection to source #181

Merged
merged 2 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading