Skip to content

[MySQL] set useLegacyDatetimeCode=false by default. #103

Closed
@hiroyuki-sato

Description

@hiroyuki-sato

For future discussion about embulk-input-mysql.
It seems better to set useLegacyDatetimeCode=false by default.

For example, If server use UTC timezone, and client use 'Asia/Tokyo',
a user need to set options: { useLegacyDatetimeCode: false } or similar explicitly.

https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-configuration-properties.html

It's not convenient.

The following references are written in Japanese.

http://qiita.com/katsuyan/items/f22dc5a86522ba3c5652
https://gist.github.com/hiroyuki-sato/dc59e8d45778dac0e0ee417bb27d57a1
http://vividcode.hatenablog.com/entry/mysql/connector-j-5.1-use-legacy-datetime-code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions