Go Back   cPanel Forums > cPanel® and WHM® (for Linux® and FreeBSD® Servers) > cPanel and WHM Discussions

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2008, 10:28 PM
Registered User
 
Join Date: Nov 2004
Posts: 26
rzderich is on a distinguished road
Bug in Mysql 5.0.51a-community? (Wordpress: posts in reverse order)

Hello

Today we receive a customer case related with wordpress and Mysql version 5.0.51a-community.

Under Wordpress posts are suddenly appearing in reverse order, these bug was described to be Mysql related as shown in these bug:

http://bugs.mysql.com/bug.php?id=32202

wordpress post related with these:

http://wordpress.org/support/topic/154622

We sould fix these, how can we upgrade from whm to a newer version of mysql ? any work around?

Regards

Roy.
__________________
Roy A. Zderich

ADX Networks (Formerly Cyberia Internet)
http://www.adx.cl

Last edited by rzderich; 02-19-2008 at 10:35 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 10:16 AM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,222
cpanelkenneth is on a distinguished road
5.0.51a is the latest community release.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 02:06 PM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,498
Infopro is on a distinguished road
Wink

Fixes:

For people running older versions of WordPress, upgrade to the latest version. Newer versions are not as susceptible to this issue, however certain edge cases will still exhibit the problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 02:19 PM
Registered User
 
Join Date: Dec 2002
Posts: 108
VeZoZ
It's a bug in MySQL and even though that is the case I don't think it should be happening on application that write SQL properly anyways.

In most other database engines the way the query is setup that causes this is not even valid.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 02:07 PM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,222
cpanelkenneth is on a distinguished road
If you are running EDGE, we downgraded MySQL 5 to 5.0.45 and are examining our options. The MySQL report states this regression is fixed in 5.0.52, which is an un-released build (at least an un-release community build).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-28-2008, 12:36 PM
Registered User
 
Join Date: Nov 2004
Posts: 26
rzderich is on a distinguished road
Thank you guys,

One more question, From cpanel inc. point of view: is these just an mysql issue with the latest communitie release? Have we (cpanel users, cpanel developers) make any mistake?

i ask these because many wordpress users are talking about these bug and they suggest "hosting companies" make a mistake of some sort here.

Best Regards

Roy.
__________________
Roy A. Zderich

ADX Networks (Formerly Cyberia Internet)
http://www.adx.cl
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-28-2008, 12:44 PM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,222
cpanelkenneth is on a distinguished road
The mistake here is a lot of finger pointing.

MySQL changed the way a certain combination of SQL parameters were handled in 5.0.51.

Wordpress happened to use that certain combination.

That certain combination is actually senseless, and won't work on other Database servers.

For whatever reason, MySQL decided to revert the behavior, hence reporting this matter as fixed in 5.0.52 (and corresponding versions in 5.1, 5.2, 6.0, etc).

The community edition is still 5.0.51a, which doesn't have this fix. The Enterprise version is newer and has the fix.

Some/Many ISPs/Webhost providers updated to 5.0.51a to close several security issues.

The bug report and fix was done in November 2007.

From the above you can draw your own conclusion as to the current state and options. For our part we applied the patch to 5.0.51a that 'resolves' the issue and are currently testing it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:05 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc