Setting the Creation Date and TimeΒΆ
By default, the creation date and time for all objects will be set to local time. In order to set the default timezone to UTC, you should:
Open the file
/etc/my.cnf
Under the
mysqld
section add the following line:default_time_zone='+00:00'Restart the service as follows:
systemctl restart mysql