My server is running in MDT
So I used following one to convert EST
SET time_zone = \'-5:00\'
But, how c
In case of Mysql8 and want to set EDT timezone 'America/New_York' then follow the below steps:
If you face the issue realted fatal error like this:
Fatal error: Illegal or unknown default time zone
Then do the following steps:
first remove the entry from /etc/my.cnf file for default-time-zone='America/New_York'
Go to shell(exit from mysql) and run the command
$ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
Add the line again
Restart mysql