Skip to content

Commit

Permalink
Craft 5 requires MySQL 8.0.17+, MariaDB 10.4.6+, PostgreSQL 13.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybrad committed Jan 23, 2024
1 parent e605995 commit 72d6748
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions server/requirements/RequirementsChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ class RequirementsChecker

var $result;

var $requiredMySqlVersion = '5.7.8';
var $requiredMariaDbVersion = '10.2.7';
var $requiredPgSqlVersion = '11.0';
var $requiredMySqlVersion = '8.0.17';
var $requiredMariaDbVersion = '10.4.6';
var $requiredPgSqlVersion = '13.0';

/**
* Check the given requirements, collecting results into internal field.
Expand Down Expand Up @@ -431,7 +431,7 @@ function isInnoDbSupported($conn)
* This method attempts to see if MySQL timezone data has been populated on
* the MySQL server Craft is configured to use.
*
* https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html
* https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html
*
* @param PDO $conn
* @return bool
Expand Down
2 changes: 1 addition & 1 deletion server/requirements/requirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
} else {
$name = 'MySQL';
$requiredVersion = $this->requiredMySqlVersion;
$tzUrl = 'https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html';
$tzUrl = 'https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html';
}
$requirements[] = array(
'name' => "{$name} {$requiredVersion}+",
Expand Down

0 comments on commit 72d6748

Please sign in to comment.