Skip to content

[bug] The time zone of the container and the mysql are inconsistent. #325

@runkecheng

Description

@runkecheng

Describe the problem

At present, the time zone of the Mysql container and container log is 0, but the time zone of MySQL is +8.

This will lead to that the time zone of the container log is not correct.

bash-4.4$ date
Mon Dec  6 02:12:47 UTC 2021
bash-4.4$ mysql -uroot -pRadonDB@123 -e "select now();"
mysql: [Warning] Using a password on the command line interface can be insecure.
+---------------------+
| now()               |
+---------------------+
| 2021-12-06 10:13:19 |
+---------------------+

Expected behavior

Environment:

  • RadonDB MySQL version: operator

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions