phpstudy升级mysql的后遗症2,如何解决无法查看用户的问题
发布于 作者:苏南大叔 来源:程序如此灵动~
苏南大叔几个月前,升级了phpstudy的mysql。虽然升级成功,但是也有点后遗症。这不,最近苏南大叔,又发现这货还是有点后遗症。就是:在phpmyadmin
里面看不了mysql的所有用户。
那么,这个问题如何解决呢?
症状描述
点击phpmyadmin
的用户模块,提示:
> Your privilege table structure seems to be older than this MySQL version!
Please run the mysql_upgrade command(mysql_fix_privilege_tables on older systems) that should be included in your MySQL server distribution to solve this problem!
这是一个悲伤的故事,苏南大叔已经mysql_upgrade
过了,并且使用了--force
参数,依然还是同样的提示。
解决方法
升级phpmyadmin
,因为新版的mysql
换了user
表的表结构,去除了password
字段,换成了authentication_string
。而phpstudy
自带的phpmyadmin
,为了适应老版本的php
,使用了比较古老的版本。所以,就不认识新的mysql
结构了....
不过,升级了最新的phpmyadmin
之后,那么在老版本的php
下面,就有可能会不能使用了。不过,苏南大叔认为,php7
都出来一年多了,那些还php5.3
的同学们,你们是怎么想的?现在都php7.2
了!
相关链接
- https://newsn.net/say/phpstudy-mysql-upgrade.html
- https://newsn.net/say/phpstudy-mysql-upgrade-2.html
- https://newsn.net/say/phpstudy-mysql-upgrade-3.html
结语
顺应时代的潮流,不能改变世界,那就改变自己。活着,才是硬道理。加油,共勉!
更多mysql精彩内容,敬请关注苏南大叔的相关经验文章:https://newsn.net/tag/mysql/ 。


