I tried to install 2.2, but got an error in Step 2 saying that says: ERROR: WordPress 2.2 requires MySQL 4.0.0 or higher.
I am running MySQL 4.1.20
So, what do I do now?
I tried to install 2.2, but got an error in Step 2 saying that says: ERROR: WordPress 2.2 requires MySQL 4.0.0 or higher.
I am running MySQL 4.1.20
So, what do I do now?
are you POSITIVE thats the version you are running?
That is what is reported in phpMyAdmin
crack open wp-includes/upgrade-functions.php
scroll down to line 1107
you'll be right in the middle of the small function that checks your MySQL version
immediately after this line:
if ( version_compare($mysql_version, '4.0.0', '<') )
put this:
echo $mysql_version;
and see what that comes back with.
Made the code change. In the wp-admin folder, not wp-includes folder. Well, it ran perfect this time. Did not report back the version number. So, who knows why it ran this time? Go Figure. Thanks for your help. I did call my service provider to confirm the MySQL version ... they confirmed the version number.
You cant just add a call to report back a variable like that just anywhere since it doesn't know how to get the variable. .. which is why i suggested putting it where I suggested :)
No worries as you installed it though. Good luck :)
In the future, if you are ever curious, and want to see the MySQL version in the footer or somewhere else, you have to tell it how to get the version:
<?php
$mysql_version = preg_replace('|[^0-9\.]|', '', @mysql_get_server_info());
echo $mysql_version;
?>This topic has been closed to new replies.