Skip to content

Commit 1ef818a

Browse files
committed
Change required MySQL version for CentOS 7
1 parent ed4f50b commit 1ef818a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ public function check_mysql_version() {
267267
global $conf;
268268

269269
$min_mariadb_version = '10.0.5';
270-
$min_mysql_version = '8.0.4';
270+
// Set MySQL version to 8.0.4 after CentOS 7 support ended to allow preg_* functions in SQL queries
271+
$min_mysql_version = '5.5';
271272

272273
$rec = $this->db->queryOneRecord('SELECT VERSION() as mysql_version');
273274
if(is_array($rec)) {

0 commit comments

Comments
 (0)