vesoft-inc/nebula-exchange

MySQLReader url is fixed

BleakStone opened this issue · 2 comments

Please check the FAQ documentation before raising an issue

Describe the bug (required)
When I use MySQLReader, the url is fixed, for example
val url =
s"jdbc:mysql://${mysqlConfig.host}:${mysqlConfig.port}/${mysqlConfig.database}? useUnicode=true&characterEncoding=utf-8",
But do I want to add more mysql parameters, such as
“useSSL=false&useTimezone=true&serverTimezone=Asia/Shanghai” and so on, it should change the url parameter to a custom configurable parameter

Your Environments (required)

  • OS: uname -a
  • Commit id (e.g. a3ffc7d8)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

Similarly, change the driver argument to custom

Thank you for your question.
The mysql data source encapsulates the URL internally based on open parameters. If you want a more flexible use, maybe you could use the jdbc to import data and it has more complete configurations.