mysql创建数据库后出现Access denied for user 'root'@'%' to database ‘xxxx’
grant all on xxxx.* to 'root'@'%' identified by 'password' with grant option; xxxx代表创建的数据库; password为用户密码,在此为root的密码
完成后即可!
发布时间: 2012-07-03 13:37:42 作者: rapoo
mysql创建数据库后出现Access denied for user 'root'@'%' to database ‘xxxx’
grant all on xxxx.* to 'root'@'%' identified by 'password' with grant option; xxxx代表创建的数据库; password为用户密码,在此为root的密码