1 目标库配置

1.1 创建用户及赋权

  • 创建用户
    create user zcbus identified by zcbus ;
  • 用户赋权
    GRANT CREATE SESSION TO ZCBUS;
    GRANT RESOURCE TO ZCBUS;
    GRANT SELECT ANY TABLE TO ZCBUS; 
    GRANT SELECT ANY DICTIONARY TO ZCBUS; 
    GRANT SELECT_CATALOG_ROLE TO ZCBUS; 
    GRANT SELECT ANY TRANSACTION TO ZCBUS;
    GRANT FLASHBACK ANY TABLE TO ZCBUS;
    GRANT DROP ANY TABLE TO ZCBUS;
    GRANT CREATE ANY TABLE TO ZCBUS;
    GRANT ALTER ANY TABLE TO ZCBUS;
    GRANT CREATE ANY INDEX TO ZCBUS;
    GRANT ALTER ANY INDEX TO ZCBUS;
    GRANT DROP ANY INDEX TO ZCBUS;
    GRANT ALTER SESSION TO ZCBUS;
    GRANT COMMENT ANY TABLE TO ZCBUS;
    GRANT INSERT ANY TABLE TO ZCBUS;
    GRANT UPDATE ANY TABLE TO ZCBUS;
    GRANT DELETE ANY TABLE TO ZCBUS;
    GRANT LOCK ANY TABLE TO ZCBUS;

或者

    GRANT DBA TO ZCBUS;
  • 清理用户
    drop user zcbus cascade;

2 补充说明

2.1 配置目标数据库参数说明

变量 描述 是否隐藏
db_type ORACLE 数据库类型
label 标签
db_name orcl 数据库登录服务名
host 127.0.0.1 IP地址
port 1521 数据库端口
user zcbus 数据库用户名
password 1qaz!QAZ 数据库密码
password_encrypt 0 设置为加密(1)时,password和source_password参数使用密文保存,默认为不加密(0)
nls_lang AMERICAN_AMERICA.AL32UTF8 Oracle客户端连接时的环境变量,默认为AMERICAN_AMERICA.AL32UTF8
文档更新时间: 2024-03-01 16:52   作者:操李红