createConnection(MariaDBConnectionInfo::create( $dbConfig['host'] ?? '', $dbConfig['user'] ?? '', $dbConfig['pass'] ?? '', $dbConfig['name'] ?? '', $dbConfig['char'] ?? 'utf8mb4', 'SET SESSION time_zone = \'+00:00\', sql_mode = \'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION\'', )); } catch(ConnectionFailedException $ex) { //echo '