From: Antoine Musso Date: Tue, 2 May 2006 19:12:21 +0000 (+0000) Subject: Error if mysql < 4.0.14 X-Git-Tag: 1.31.0-rc.0~57269 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=0d5c05e707ab7e83f2140a0a4e39d9ca92509ce5;p=lhc%2Fweb%2Fwiklou.git Error if mysql < 4.0.14 --- diff --git a/config/index.php b/config/index.php index 71eceb5e8a..6b20948a35 100644 --- a/config/index.php +++ b/config/index.php @@ -592,8 +592,8 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) { print "
  • Connected to $myver"; if ($conf->DBtype == 'mysql') { - if( version_compare( $myver, "4.0.0" ) < 0 ) { - die( " -- mysql 4.0 or later required. Aborting." ); + if( version_compare( $myver, "4.0.14" ) < 0 ) { + die( " -- mysql 4.0.14 or later required. Aborting." ); } $mysqlNewAuth = version_compare( $myver, "4.1.0", "ge" ); if( $mysqlNewAuth && $mysqlOldClient ) {