How to deal with empty MySQL time zone tables on shared hosting when provider refuses to load them (CiviCRM/WordPress)

  • Thread starter Thread starter Bas_Entheos
  • Start date Start date
B

Bas_Entheos

I am running CiviCRM 6.5.0 on WordPress 6.8.2 (PHP 8.3) at a shared hosting provider (Mijndomein.nl).

Problem:

The MySQL time zone tables are empty.

Normally this could be fixed with: mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql

But on shared hosting I don’t have root access. The provider confirmed the tables are empty, refused to fill them on shared servers, and advised me to move to a VPS.

What I tried:

Verified in phpMyAdmin → mysql.time_zone_name is empty. In CiviCRM only UTC is available in the time zone list. Asked provider to populate the tables → refused.

What I expected:

That I could use proper time zones (e.g. Europe/Amsterdam) so events and mailings in CiviCRM display the correct local time.

My questions:


  1. Are there any practical workarounds on shared hosting when MySQL time zone tables are empty?


  2. Or is moving to a VPS truly the only option to gain control over this?


  3. Has anyone run into this with CiviCRM or similar apps and found a way to keep it working in production?

Environment:

CiviCRM 6.5.0 WordPress 6.8.2 PHP 8.3 Shared hosting (Mijndomein.nl)

mysql civicrm wordpress timezone shared-hosting

Continue reading...
 
Back
Top Bottom