DEV Community

Manish Chaudhary
Manish Chaudhary

Posted on

How to fix SQLSTATE[HY000]: General error: 1298 Unknown or incorrect time zone: 'UCT'

I am in mac and got this issue

When In Laravel

You add timezone key to database.php connections.mysql

Fix

mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql

Top comments (0)