phpMyAdmin - Error You should upgrade to MySQL 5.5.0 or later

user3400327 picture user3400327 · Oct 6, 2014 · Viewed 49.4k times · Source

I installed phpMyAdmin-4.2.9.1-english on a Centos 6.5 platform.

2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

When I login I get the following screen:

phpMyAdmin - Error

You should upgrade to MySQL 5.5.0 or later.

I am using Server version: 5.1.73

What should I do?

Answer

Sérgio picture Sérgio · Nov 19, 2014

I went to /usr/share/phpMyAdmin/libraries/common.inc.php and comment out this lines:

    #if (PMA_MYSQL_INT_VERSION < 50500) {
    #    PMA_fatalError(
    #        __('You should upgrade to %s %s or later.'),
    #        array('MySQL', '5.5.0')
    #    );
    #}

and now I can admin my mysql .

UPDATE :

http://docs.phpmyadmin.net/en/latest/faq.html#faq1-17 but doesn't explain why

why :

https://sourceforge.net/p/phpmyadmin/bugs/4437/

https://github.com/phpmyadmin/phpmyadmin/commit/9112d7c9303b51b7e156cc98fa79ab8824b50e30