随笔 - 58  文章 - 17 评论 - 0 trackbacks - 3

grant 权限1,权限2,…权限n on 数据库名称.表名称 to 用户名@用户地址 identified by ‘连接口令’;
控制到库级的命令示范:
grant all privileges on shangcheng.* to shangcheng@localhost identified by '123456';
用户名为:shangcheng
库名:shangcheng
密码:123456

SET PASSWORD FOR 'kuangqu'@ 'localhost' = PASSWORD( '********' )
更改mysql密码命令
posted on 2007-06-20 16:18 秦岭过客 阅读(6166) 评论(0) 编辑 收藏
(评论功能已被博主禁用)