摘要: 允许root用户在任何地方进行远程登录,并具有所有库任何操作权限,具体操作如下:在本机先使用root用户登录mysql:mysql -u root -p"youpassword"进行授权操作:mysql>GRANT ALL PRIVILEGES ON *.* TO'root'@'%'IDENTIFI... 阅读全文
posted @ 2015-01-05 16:52 Forward1990 阅读(143) 评论(0) 推荐(0) 编辑
摘要: mysql> grant 权限1,权限2,…权限n on 数据库名称.表名称 to 用户名@用户地址 identified by ‘连接口令’;权限1,权限2,…权限n代表select,insert,update,delete,create,drop,index,alter,grant,refere... 阅读全文
posted @ 2015-01-05 16:01 Forward1990 阅读(1066) 评论(0) 推荐(0) 编辑