Mysql version is different in phpmyadmin

只愿长相守 提交于 2020-01-24 06:24:25

问题


I just upgraded my MYSQL version from 5.5.40 to 5.6.22 but my PHPMYADMIN still show the same old version on Home Page

In terminal I checked version
mysql --version ==> 5.6.22

But when I check with "select version()" command inside Terminal and PHPMYADMIN I got correct version 5.6.22

But on home page of PHPMYADMIN I get 5.5.40-0ubuntu0.14.04.1 - (Ubuntu)

In a post I read that there might be two mysql clients installed and may be phpmyadmin is referring to old client. If this is the case how can I delete old-client


回答1:


Try removing php-mysql and installing php-mysqlnd. Will automatically done by following commands

sudo add-apt-repository ppa:nijel/phpmyadmin
sudo apt-get update
sudo apt-get install php5-mysqlnd

sudo apt-get --purge --reinstall install phpmyadmin

Or you can try reinstalling your phpmyadmin



来源:https://stackoverflow.com/questions/27702456/mysql-version-is-different-in-phpmyadmin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!