We recently upgraded MySQL from 5.6 to 8. So, as per upgrade instructions,using mysql-java-connector(8.0.12) and new driver class name i.e com.mysql.cj
I resolved myself without changing any registry at OS level. This may help others.
Getting this error since Time zone name with 'Malay Peninsula Standard Time' is not available in MySQL. So as instructed in this MySQL Documenation, downloaded timezone_2018e_posix_sql.zip from this MySQL Timezones and loaded into MySQL database as instructed. After that added below configuration in my.ini file and restarted the server.
default_time_zone=Asia/Singapore