On a remote ubuntu 18 server when opening data in phpmyadmin from one of the tables, it displays the warnings and popup window(like that https://imgur.com/a/b5HGGV0), which is very lacking ... Is there a way to ignore/hide them?
Server: Localhost via UNIX socket Server type: MySQL Server version: 5.7.23-0ubuntu0.18.04.1 - (Ubuntu) Protocol version: 10 User: root@localhost Server charset: UTF-8 Unicode (utf8)
Apache/2.4.29 (Ubuntu) Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $ PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation PHP version: 7.2.10-0ubuntu0.18.04.1
phpMyAdmin Version information: 4.6.6deb5
Thank!
Open the /etc/phpmyadmin/config.Save file and exit. This will ignore and hide all errors in phpMyAdmin.
phpMyAdmin is difficult to install as it needs three more software tools before installation, which is- Apache server, PHP, and MySQL.
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.
Find and click on phpMyAdmin. From the main phpMyAdmin page, look to the far right side of the page. There is a block entitled “Database Server”. Look for the field named Server version or Software version.
The best way to turn off Phpmyadmin errors is to go go config.inc.php and set (or comment out ie removing the // lines in front of the value, which is set to "ask" by default.)
$cfg['SendErrorReports'] = 'never';
Hit save and that's it.
More info https://docs.phpmyadmin.net/en/latest/config.html#cfg_SendErrorReports
This is a common error on this phpMyAdmin version. To solve this open this file
sudo pico /usr/share/phpmyadmin/libraries/sql.lib.php
Find this line:
|| (count($analyzed_sql_results['select_expr'] == 1)
and replace with:
|| (count($analyzed_sql_results['select_expr']) == 1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With