diff --git a/administrator/components/com_admin/script.php b/administrator/components/com_admin/script.php index 6f4ee3753fdf0..939f48575ab46 100644 --- a/administrator/components/com_admin/script.php +++ b/administrator/components/com_admin/script.php @@ -1662,13 +1662,13 @@ private function serverClaimsUtf8mb4Support($format) $client_version = false; } - if ($client_version) + if ($client_version && version_compare($server_version, '5.5.3', '>=')) { if (strpos($client_version, 'mysqlnd') !== false) { $client_version = preg_replace('/^\D+([\d.]+).*/', '$1', $client_version); - return (version_compare($client_version, '5.0.9', '>=') && version_compare($server_version, '5.5.3', '>=')); + return (version_compare($client_version, '5.0.9', '>='); } else {