Error if mysql < 4.0.14
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 2 May 2006 19:12:21 +0000 (19:12 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 2 May 2006 19:12:21 +0000 (19:12 +0000)
config/index.php

index 71eceb5..6b20948 100644 (file)
@@ -592,8 +592,8 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) {
 
                print "<li>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 ) {