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

    I am currently trying to install MODx on my pc, but when I run the setup it fails everytime at this:

    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.


    I have googled it and searched this forum, but couldn’t find an answer.

    Specs:
    - OS: Windows 7
    - Wamp 2.0
    - Updated MYSQL to version 5.1.41
    - Updated Apache to 2.2.14
    - PHP 5.2.9-2, I have 5.3.1, but if I run that, the links checking the database won’t work
    - Using Google Chrome and IE8 in Comp-mode

    Any help is appreciated.

    Lody
      • 26903
      • 1,336 Posts
      Revolution is warning you that it won’t work with the version of the MYSQL client you have installed, so it bails the installation. If you’ve updated to MYSQL 5.1.4.1 for your server you need to bump the client up to this also.
        Use MODx, or the cat gets it!
        • 16606
        • 5 Posts
        And how do I do that?
        I don’t have any experience using an ’already-build cms’, I have always written my own CMS systems...
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          This has nothing at all to do with MODx. It has to do with the MySQL client that your version of PHP is using to connect to the MySQL server. If you have upgraded the MySQL server, then the client should also be upgraded to match the server version. Take a look at a phpinfo() display to see what version of MySQL client it’s using.
            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
            • 16606
            • 5 Posts
            I was aware of that.
            phpinfo() returns that the client API version is 5.0.51a.

            Even though I run WAMP, I upgraded Apache, MYSQL and PHP separately (via the "get more" button).
            I looked at the WAMP site for a more recent version, which exists, only the MYSQL,
            and PHP and Apache version still are lower than the versions I currently have now (PHP excluded).
              • 26903
              • 1,336 Posts
              I’m not familiar with WAMP but I use XAMPP on my old WIN2K steam powered dev box, this too has MYSQL client 5.0.51a but I take this test out of the code on this machine so the install proceeds. Pleeeeease!!! don’t do this if you intend to put this site into production, heed the warning and try and get you client updated, if you are just experimenting with revolution it should be OK for you but if it breaks bad luck.
                Use MODx, or the cat gets it!
                • 16606
                • 5 Posts
                Well, I’d rather have this working 100% on this machine.
                I thinking of re-installing WAMP from the beginning, and immediately update the components, maybe that will help?
                  • 26903
                  • 1,336 Posts
                  You could try googling(or go to your WAMPP site) to see if you can get a version that doesn’t use 5.051a client, may save some work before reinstalling etc.
                    Use MODx, or the cat gets it!
                    • 16732
                    • 592 Posts
                    Hello,

                    I have the same probleme on WAMP... and on a ubuntu local server ! rolleyes

                    I don’kwow you but it’s the first time a MySQL client stop an app installation ! shocked

                    Here my ubuntu pre-installation test results :

                    =======================================
                    Checking PHP for zlib dependency: OK!

                    Checking for SimpleXML: OK!

                    Checking PHP version: OK! Running: 5.2.4-2ubuntu5.6

                    Checking MySQL server version: OK! Running: 5.0.51a-3ubuntu5.4

                    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.

                    ....
                    ========================================
                      • 28215
                      • 4,149 Posts
                      We will be loosening the message from a "fail" to a "warn" in RC2 and beyond, allowing you to proceed.

                      That said, I encourage all of you using 5.0.51a to read this:

                      http://svn.modxcms.com/docs/display/revolution/MySQL+5.0.51+Issues

                      It really is in your best interest to not use 5.0.51a.
                        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com