Error: Error in line 1: DateTime::__construct(): Failed to parse time string (NULL) at position 0 (N): The timezone could not be found in the database |
That's not because you're not running MySQL. I'm not even sure that's a MySQL/MariaDB related issue at all. MariaDB > 10.5 is dropin MySQL. They're fully compatible.i have installed new ubuntu 20.04 with plesk because of support end ubuntu 16.04, at the server i have a shopystem, they show this erro with mariaDB.
Error: Error in line 1: DateTime::__construct(): Failed to parse time string (NULL) at position 0 (N): The timezone could not be found in the database
the error comes only with a import with new products, when updating existing products, everything works, including the shop
the problem is MariaDB, at a other server with MySQL is all normal without error, the shop is a shopware but a 5.2 Version, in the newer versions a very good import module was removedThat's not because you're not running MySQL. I'm not even sure that's a MySQL/MariaDB related issue at all. MariaDB > 10.5 is dropin MySQL. They're fully compatible.
If that is the case, you can either have it parallel via docker as mentioned, or replace MariaDB with MySQL (the most reliable way to do this is to dump all the databases and reimport them).the problem is MariaDB, at a other server with MySQL is all normal without error, the shop is a shopware but a 5.2 Version, in the newer versions a very good import module was removed
How can I replace MariaDB with MySQL on my existing Plesk server?If that is the case, you can either have it parallel via docker as mentioned, or replace MariaDB with MySQL (the most reliable way to do this is to dump all the databases and reimport them).
For docker, you can pull the mysql image for the version (Docker Hub) you want and then call docker run <image> with the relevant flags (you'll likely need to NAT 3306 to 3307, pass the -p flag). The Docker Extension will provide a way to do this for you