Skip to content

PhpMyAdmin Issue with 7.2 [sql.lib.php]

Screenshot from 2020 02 26 16 23 22

Warning in ./libraries/sql.lib.php#613

If you don’t want to wait for the repositories to update with the latest version, it is strongly recommended that you manually upgrade to the latest version of phpMyAdmin yourself.

OR

I found some code issue in phpmyadmin file. Following is the path

/usr/share/phpmyadmin/libraries/sql.lib.php

Edit with nano command in terminal

Press CTRL + W and Find code (count($analyzed_sql_results[‘select_expr’] == 1)

Replace it with ((count($analyzed_sql_results[‘select_expr’]) == 1)

Save file and exit. (Press CTRL + X, press Y and then press ENTER)

Sometime you will get following MySQL or phpMyAdmin related issues.

  1. The Requested Url /Phpmyadmin/ Was Not Found On This Server
  2. Upgrade MySQL 5.7 To 8. On Ubuntu Very Easy Step
  3. MYSQL Dump File Using Command Prompt ?