1.新建用户 新建用户: create User username Identified by password 修改用户密码: alter User username Identified by password 删除用户密码: drop user user_name [cascade] (cascade:级联删除选项,如果用户包含数据库对象,则必须加 CASCADE选项,此时连同该用户所拥有的对象一起删除.) [注意]: ①只有有DBA权限的用户才能新建用户: ②username :用户名.
(转:http://www.cnblogs.com/yangy608/archive/2011/08/22/2148893.html) create user TEST identified by "TEST" --创建TEST用户 default tablespace USERS temporary tablespace TEMP profile DEFAULT; grant connect,create view ,resource to TEST; grant unlimit
采用sys or system / manager as sysdba; 连接数据库. 创建普通用户konglin: create user konglin identified by pwd_oracle; 删除用户, drop user konglin; 授予用户登录数据库的权限: grant create session to konglin; 授予用户操作表空间的权限: grant unlimited tablespace to konglin; grant create tablesp
mysql 进入mysqldb SELECT DISTINCT CONCAT('User: ''',user,'''@''',host,''';') AS query FROM mysql.user; 查询所有用户 CREATE USER 'oozie'@'%' IDENTIFIED BY 'oozie'; 创建一个用户可以访问所有数据库(%表示)密码是oozie GRANT ALL PRIVILEGES ON *.* TO 'oozie'@'%' IDENTIFIED BY 'oozie' W
update ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value 建议使用GRANT语句进行授权,语句如下: grant all privileges on *.* to root@'%' identified by "root"; --------------------------------------------------- GRANT SELECT,INSERT,UPDATE,DELETE,
1.第一次安装oracle数据库应该做的事情. 注: 1.安装oracle后需要创建用户,连接数据库,(注意数据库名,还有好像后面的 ":"也有影响) 2.解锁用户, 3.授予新登陆的用户创建权限 4.授予新登陆的用户数据库管理员权限. CREATE USER orcl IDENTIFIED BY orcl --创建用户,并设置密码 ALTER USER orcl ACCOUNT UNLOCK --用户解锁 GRANT CREATE SESSION TO orcl --授予新登陆的用户
摘自: http://renxiangzyq.iteye.com/blog/763837 update ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value 建议使用GRANT语句进行授权,语句如下: grant all privileges on *.* to root@'%' identified by "root"; -----------------------------------------
第一步:进入数据库以后,先用 show databases; 再use mysql; 再 show tables; 再 select user,host from mysql.user; 基本操作 如下图 第二步:查看原有数据库以后 再创建一个不同名字的数据库 其:创建命令:create user 'test01'@'192.168.103.41' identified by '123456'; 再用 grant all privileges on *.* to 'test01