修改密码
alter user tony identified by tony1 --将tony1设置为用户tony的密码
或者如下:
alter user tony identified by tony1 replace tony --tony的旧密码为tony 新密码为tony1
--授予权限
grant select on tony_table1 to tony;
--撤销权限
revoke select on tony_table1 from tony;
alter user tony identified by tony1 --将tony1设置为用户tony的密码
或者如下:
alter user tony identified by tony1 replace tony --tony的旧密码为tony 新密码为tony1
--授予权限
grant select on tony_table1 to tony;
--撤销权限
revoke select on tony_table1 from tony;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30201626/viewspace-1586276/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/30201626/viewspace-1586276/