关于mysql中添加新用户名的方法(权限)
2012-09-03 21:17
239 查看
原谅在这儿: http://zhidao.baidu.com/question/328098747.html
mysql添加用户方法 建立数据库gamesp create database gamesp; 添加用户 grant all on 数据库名.* to 用户名@localhost identified by '密码'; grant all on gamesp.* to newuser@localhost identified by 'password'; 添加一个远程用户,名为username密码为password GRANT ALL PRIVILEGES ON *.* TO username@"%" IDENTIFIED BY 'password' 说明: (1)grant all 赋予所有的权限 (2)gamesp.* 数据库 gamesp 中所有的表 (3)newuser 用户名 (4)@localhost 在本地电脑上的 mysql server 服务器 (5)identfified by 'password' 设置密码
相关文章推荐
- vista忘记用户名密码的修改方法(使用PE进入系统,用cmd.exe冒充虚拟键盘,然后就可以mmc组策略,或者命令行添加用户并提升权限)
- 关于MySQL中添加数据的两种方法
- 关于mysql创建账户以及权限设置的若干方法和问题
- mysql修改用户名密码和Load Data Local Infile的权限及用户自定义函数方法
- Mysql 5.6添加修改用户名和密码的方法
- 给Mysql添加远程访问权限的方法
- 给Mysql添加远程访问权限的方法
- 动网:关于部分论坛用户发帖、回帖时报错“数据中含有非法字符。您的用户名并不存在,或者您的论坛密码错误,或者您的帐号已被管理员锁定。” 及“您没有发表新主题的权限”解决方法
- 关于MYSQL 远程登录的授权方法 命令
- 关于MySql 10038错误的完美解决方法(三种)
- 关于mysql无法输入中文的解决方法
- mysql关于用户权限命令
- MySQL中基本的用户和权限管理方法小结
- 为mysql添加远程访问权限
- MYSQL添加新用户 MYSQL为用户创建数据库 MYSQL为新用户分配权限
- 关于MySQL的1067错误解决方法
- 小马哥------mtk手机 在内核boot里添加权限 root方法
- 关于mysql处理百万级以上的数据时如何提高其查询速度的方法
- 升级Appserv中的php版本之后mysql报关于密码错误的解决方法#2000
- MySQL添加用户的两种方法