使用别人的LocalDB制作本地库

使用别人的LocalDB制作本地库


制作本地库,除了传统方法,还可以是拷贝别人的本地库,把自己的帐号添加进别人的本地库里成为合法用户。
以用户 DEV1 为例 ,过程如下:

1. 运行D:\Siebel\8.1\Tools_1\BIN\dbisqlc.exe ,以SIEBEL用户登录本地库,密码是初始本地库人的密码;

2. 添加账户 DEV1
grant connect to SSE_ROLE;
grant connect to DEV1 identified by 'DEV1';
grant group to SSE_ROLE;
grant membership in group SSE_ROLE to DEV1;

3. 查看是否添加成功:

SELECT * FROM SYSUSERS 

——————Oracle DB创建用户————————

create user TEST identified by TEST;
grant sse_role to TEST;
alter user TEST default tablespace CTBCDATA;
alter user TEST temporary tablespace TEMP;

你可能感兴趣的:(使用别人的LocalDB制作本地库)