链接mysql数据库报错以下:mysql
Error (1133): Can’t find any matching row in the user tablesql
解决办法:数据库
mysql> grant all on *.* to 'username'@'%' identified by 'password';ide
mysql> flush privileges;it
*.*能够换成你要访问具体哪一个数据库和具体哪张表table
发生这一错误的缘由是在变动了mysql.user表以后,没有使用FLUSH PRIVILEGES命令来更新权限表(grant tables)class