[wp-trac] [WordPress Trac] #11464: MySQL 4.1.2 and automatic update...

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 16 20:57:58 UTC 2009


#11464: MySQL 4.1.2 and automatic update...
-------------------------+--------------------------------------------------
 Reporter:  nickbohle    |       Owner:                        
     Type:  enhancement  |      Status:  new                   
 Priority:  normal       |   Milestone:  2.9                   
Component:  General      |     Version:  2.9                   
 Severity:  normal       |    Keywords:  MySQL, version, update
-------------------------+--------------------------------------------------
 Dear all,

 I've just tried to update to WP 2.9 RC1 via the beta tester plug-in and
 the automatic update.

 Everything worked like a charm (files downloaded, installled, etc.), until
 I had to upgrade my database.

 Until?
 {{{
 // Make sure the server has MySQL 4.1.2
         1054            if ( version_compare($this->db_version(), '4.1.2',
 '<') )
         1055                return new
 WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress
 %s requires MySQL 4.1.2 or higher'), $wp_version));
 }}}

 I know! By using the beta tester plugin, I totally forgot about the
 database requirements. My fault. And I fixed by downgrading...

 But what is the reaction of the average WP user when he updates WP to 2.9
 via the automatic update, he starts the database update and  then, his
 database upgrade will not work due to an old mysql version. Result: he
 will be stuck with no connection to the back-end.

 So, my question:

 Why is there no MySQL (and PHP) version check BEFORE the automatic updates
 starts. A warning about an outdated mysql verion would be more useful
 BEFORE I try to install WP 2.9

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11464>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list