Hi there, please implement setting the timezone on a connection level, similar to the way [mysql.connector works with `time_zone`](https://dev.mysql.com/doc/connector-python/en/connector-python-connectargs.html). This allows ensuring a constant timezone like UTC independent from what the database might have configured. Related: https://github.com/aio-libs/aiomysql/issues/235
Activity
methane commentedon Mar 19, 2018
FYI,
init_command="SET SESSION time_zone=UTC"works.guyskk commentedon Dec 26, 2018
Use
init_command="SET SESSION time_zone='+00:00'"to avoid pymysql.err.InternalError: (1298, "Unknown or incorrect time zone: 'UTC'")