Skip to content

cannot specify ssl_mode=required on mysql #47

@davidkhala

Description

@davidkhala

Please confirm before submission 在提交之前,请确认

Is this request related to a challenge you're experiencing? Tell me about your story. 这个请求与你正在经历的挑战有关吗?给我讲讲你的故事。

Today I want to use connection property Database properties to configure ssl is mandatory, for a mysql connection
by ssl_mode=REQUIRED

But I get

req_id: 566834a4b1 PluginInvokeError: {"args":{},"error_type":"RuntimeError","message":"Error connection database: Connection.__init__() got an unexpected keyword argument 'ssl_mode'"}

I do some research, but it might be the dependency program. If this tool is using pip pymysql or mysqldb, it is not supported. The only supported driver is mysql-connector-python, the Oracle official one.

Expected solution

  • add another connection configuration item for ssl mode enablement specifically, or
  • replace current python driver with mysql-connector-python

Can you help us with this feature? 你能帮我们实现这个功能吗?

  • I am interested in contributing to this feature. 我有兴趣为这个特性做贡献。

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions