Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpMyAdmin - Error You should upgrade to MySQL 5.5.0 or later

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?

like image 863
user3400327 Avatar asked Oct 06 '14 18:10

user3400327


People also ask

Is MySQL 5.5 still supported?

On December 31st, 2018, MySQL version 5.5 entered End of Life status. Any server currently running MySQL 5.5 will not receive any updates, bug fixes, or security patches for MySQL until MySQL is updated to a version 5.6 or later.

How do I change phpMyAdmin version?

Move into the directory where your phpmyadmin directory is located. For example, if you have a phpmyadmin directory inside your wwws directory you would move into the wwws directory by typing cd wwws . To install the most recent version of phpMyAdmin available on Webserve, type install_phpmyadmin .

Why is phpMyAdmin not connecting?

A database connection error means that your phpMyAdmin tool is not able to connect to the MySQL database. Usually, this is because the MAMP phpMyAdmin configuration file has the incorrect settings.


1 Answers

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

like image 141
Sérgio Avatar answered Sep 23 '22 00:09

Sérgio