I am using default_time_zone='+00:00' in my.conf file and restart mysql server. But again default time zone is showing SYSTEM.
In my.conf
file, try:
[mysqld]
...
# default_time_zone='+00:00'
default-time-zone=+00:00
...
Documentation: 5.1.3. Server Command Options: --default-time-zone=timezone
I use Ubuntu so on my machine location of the config file is:
/etc/mysql/mysql.conf.d/mysqld.cnf
add the value:
default_time_zone='+00:00'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With