跳至内容
Python 俱乐部
用户工具
登录
站点工具
搜索
工具
显示页面
修订记录
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
vps:mysql:user-add-delete
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== mysql添加用户、更改密码 ====== ===== mysql创建数据库 ===== 建立数据库gamesp create database gamesp; ===== MySQL添加用户 ===== grant all on 数据库名.* to 用户名@localhost identified by '密码'; grant all on gamesp.* to newuser@localhost identified by 'password'; 说明: (1)grant all 赋予所有的权限 (2)gamesp.* 数据库 gamesp 中所有的表 (3)newuser 用户名 (4)@localhost 在本地电脑上的 mysql server 服务器 (5)identfified by 'password' 设置密码 ===== MySQL删除用户 ===== <code> use mysql mysql>Delete FROM user Where User="xxxxx" and Host="localhost"; mysql>flush privileges; </code> ===== MySQL修改密码 ===== <code> mysqladmin -uroot -plk317921web password "111111" </code>
vps/mysql/user-add-delete.txt
· 最后更改: 2011/09/14 14:42 (外部编辑)
页面工具
显示页面
修订记录
反向链接
回到顶部