centos7.5 登入mysql,进行授权报错 问题: mysql> grant all privileges on *.* to 'lvhanzhi'@'%' identified by 'Bgx123.com'; ERROR 3009 (HY000): Column count of mysql.user is wrong. Expected 45, found 42. Created with MySQL 50560, now running 50725. Please use mysq…
出现问题: Column count of mysql.user is wrong. Expected 43, found 42. Created with MySQL 50518, now running 50641. Please use mysql_upgrade to fix this error. 解决方法: In my case, and following the recommendation of the error message, I ran: root@mysql--gm3…
在Ubuntu上安装软件,不小心升级了pip,导致使用时报错如下: Import Error:cannot import name main 后来发现是因为将pip更新为10.0.0后库里面的函数有所变动造成这个问题. 解决方法如下: sudo vi /usr/bin/pip 将原来的 from pip import main 改为 from pip._internal import main 方法二: sudo vi /usr/bin/pip 将原来的: from pip import mai…