We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13715
    • 9 Posts
    I tried to install Revo. Made sure that there isn’t mysql v 5.0.51 running on the server, but received the following error prompt and the installation aborted:

    Checking MySQL server version: OK! Running: 5.1.30-2

    Checking MySQL client version: Failed!

    MODx will have issues on your MySQL version (5.0.51a), because of the many bugs related to the PDO drivers on this version. Please upgrade MySQL to patch these problems. Even if you choose not to use MODx, it is recommended you upgrade to this version for the security and stability of your own website.

    What’s wrong?
      • 28215
      • 4,149 Posts
      Your MySQL client is still running 5.0.51a. You’ll need to recompile PHP with the newer MySQL drivers.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        The PHP you’re using has the older 5.0.51a client compiled into it. When PHP is compiled, it’s told where to go get the MySQL libraries to build in the client. If it’s compiled against the 5.0.51a version, then that’s the client it will have. So at some point the host upgraded their MySQL (probably because of the complaints about it being so buggy), but never got around to upgrading or recompiling the PHP to go with it.

        The best solution would be to get your host to either upgrade or at least recompile their PHP to have a client to match their server. It will work with a mismatch, but of course it’s better not to risk the chance of things not working.

        If that’s not an option, you can disable that version check; MODx will probably work just fine with the later MySQL server version and the mismatched client.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 13715
          • 9 Posts
          If that’s not an option, you can disable that version check; MODx will probably work just fine with the later MySQL server version and the mismatched client.

          Thank you. How to do that?
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            I don’t work with Revo much; Jason or one of the other Revo people should be able to either help you with that, or tell us that I don’t know what I’m talking about tongue
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 22303 MODX Staff
              • 10,725 Posts
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Thank you, Jason wink
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 13715
                  • 9 Posts
                  Yes, many thanks.
                    • 2611
                    • 394 Posts
                    I’ve done this once...and it brought me great trouble. Really weird, unexplainable things...some core features
                    just not working right.

                    Just as a heads up, if anything doesn’t function as you’d expect...remember that you’re running a wrong client grin
                      Follow me on twitter: @b03tz
                      Follow SCHERP Ontwikkeling on twitter: @scherpontwikkel
                      CodeMaster