MYSQL timezone support
I'm seeing some PHP errors on one of my web sites.
The coding guys are telling me that my server doesn't support MYSQL time zones.
The server time is correct, and I can see its configured for the correct time zone.
Do I need to enable something in MySql ?
-
I've been advised to run the following # mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql The errors appear to have stopped 0 -
Hello @keat63, Can you share the specific error messages you viewed on your websites prior to running that command, along with the output of the commands below? # whmapi1 installed_versions packages=0|grep mysql # whmapi1 installed_versions packages=0|grep mariadb # whmapi1 installed_versions packages=0|grep operating_system # whmapi1 installed_versions packages=0|grep php
Thank you.0 -
I'm not sure if this helps, as it was an error being displayed with the application. File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London'
mysql: 5.7.26 mysql_build: 5.7.26-1 operating_system_name: centos operating_system_version: '6.10' apache_php_default_version: 7.0.33-2.2.1 apache_php_versions: cpanel_php: 7.2.7-70 -
I'm not sure if this helps, as it was an error being displayed with the application.
I assume you're aware of this: github.com/cubecart/v6/issues/22560 -
It was actually the Cubecart techs who suggested the ssh command in my second post. I was just following up to show a conclusion. 0
Please sign in to leave a comment.
Comments
5 comments