MySql开始没有权限需要:
grant all privileges on *.* to 账户@'%' identified by '密码' with grant option;(对全部数据设置权限,%=IP地址)
grant all privileges on 数据库名.* to 账户@'%' identified by '密码' with grant option;(对单个数据库设置权限)
flush privileges;(刷新配置)
MySql开始没有权限需要:
grant all privileges on *.* to 账户@'%' identified by '密码' with grant option;(对全部数据设置权限,%=IP地址)
grant all privileges on 数据库名.* to 账户@'%' identified by '密码' with grant option;(对单个数据库设置权限)
flush privileges;(刷新配置)