We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17552
    • 46 Posts
    Hi!

    In the docs (http://rtfm.modx.com/display/revolution20/MySQL+5.0.51+Issues) it is said that


    MySQL 5.0.51, including 5.0.51a, has serious bugs with PDO, specifically grouping, ordering and prepare statements.

    It will cause uncorrectable errors in normal queries in MODx, as well as other open source applications, and therefore MODx does not support installations with MySQL 5.0.51 installed. Please upgrade your MySQL installation.

    I have tried to install Modx on a server which has MySQL version: 5.0.51a-3ubuntu5.8
    The setup quits without problems or warnings and Modx has been successfully installed. What does this mean? Does the mentioned version works with Modx? Or does the setup not verify the MySQL version?

    loxy



      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: loxy at Dec 03, 2010, 11:30 AM

      Hi!

      In the docs (http://rtfm.modx.com/display/revolution20/MySQL+5.0.51+Issues) it is said that


      MySQL 5.0.51, including 5.0.51a, has serious bugs with PDO, specifically grouping, ordering and prepare statements.

      It will cause uncorrectable errors in normal queries in MODx, as well as other open source applications, and therefore MODx does not support installations with MySQL 5.0.51 installed. Please upgrade your MySQL installation.

      I have tried to install Modx on a server which has MySQL version: 5.0.51a-3ubuntu5.8
      The setup quits without problems or warnings and Modx has been successfully installed. What does this mean? Does the mentioned version works with Modx? Or does the setup not verify the MySQL version?

      loxy
      Out pattern matching does not detect the version properly when vendors add their own proprietary strings on the end like that, so the installer didn’t catch that it was a problem version. The actual bug in MySQL 5.0.51 that causes problems is broken sorting when you GROUP and ORDER BY the same column. This was a bigger problem in Evolution, but you may encounter similar issues with sorting Resources or other unexpected behavior in Revolution due to this particular bug as well.