phpMyAdmin下管理MySQL数据库,发现了很多错误提示:
DeprecationNoticein./../php/php-gettext/streams.php#48MethodswiththesamenameastheirclasswillnotbeconstructorsinafutureversionofPHP;StringReaderhasadeprecatedconstructorBacktrace./../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和它的依赖模块就可以了,命令如下:
sudoapt-getremove--purgephpmyadminphp-gettextphp-mbstring-ysudoapt-getautoremove-ysudoapt-getupdatesudoapt-getinstallphpmyadminphp-gettextphp-mbstring-y
上一篇:MySQL中pt-query-digest工具怎么使用
下一篇:mysql不允许远程连接错误如何解决
phpMyAdmin mysql









