Change minimum MySQL version to 5.0.7

This commit is contained in:
Kijin Sung 2016-03-22 10:53:49 +09:00
parent e34f59a66f
commit 1873270a59

View file

@ -77,10 +77,10 @@ class DBMysql extends DB
return;
}
// Error appears if the version is lower than 4.1.13
if(version_compare(mysql_get_server_info($result), '4.1.13', '<'))
// Error appears if the version is lower than 5.0.7
if(version_compare(mysql_get_server_info($result), '5.0.7', '<'))
{
$this->setError(-1, 'Rhymix requires MySQL 4.1.13 or later. Current MySQL version is ' . mysql_get_server_info());
$this->setError(-1, 'Rhymix requires MySQL 5.0.7 or later. Current MySQL version is ' . mysql_get_server_info());
return;
}