​phpMyAdmin下管理MySQL数据库报错怎么解决

本文讲解"​phpMyAdmin下管理MySQL数据库报错如何解决",希望能够解决相关问题。

phpMyAdmin下管理MySQL数据库,发现了很多错误提示:

Deprecation Notice in ./../php/php-gettext/streams.php#48
Methods with the same name as their class will not be constructors in a future version of PHP; StringReader has a deprecated constructor

Backtrace

./../php/php-gettext/gettext.inc#41: require()
./libraries/select_lang.lib.php#477: require_once(./../php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./db_structure.php#13: require_once(./libraries/common.inc.php)

这台服务器是前几天新安装的Ubuntu Server 16.04,默认用的是PHP7.0,安装的时候没有发现错误,不知道是当时没有注意还是错误是后来发生的。虽然只是报警,暂时没有发现影响使用的问题,但是心理还是不爽,看提示应该是php-gettext的问题,网上也有说是php-mbstring模块的问题,解决方法很简单,重新安装phpMyAdmin和它的依赖模块就可以了,命令如下:

sudo apt-get remove --purge phpmyadmin php-gettext php-mbstring -ysudo apt-get autoremove -ysudo apt-get updatesudo apt-get install phpmyadmin php-gettext php-mbstring -y

关于 "​phpMyAdmin下管理MySQL数据库报错如何解决" 就介绍到此。希望多多支持编程宝库

在说到什么是回表查询的时候,有两个概念需要先解释清楚:分别是聚集索引(聚簇索引)和非聚集索引(非聚簇索引) 聚集索引和非聚集索引MySQL规定,在使用InnoDB存储引擎的时候,必须且仅有 ...