1 目标库配置
1.1 创建用户及赋权
- 创建用户
create user zcbus identified by zcbus;
- 用户赋权
GRANT CONNECT to zcbus;
GRANT RESOURCE to zcbus;
GRANT CREATE SESSION TO zcbus;
GRANT CREATE ANY TABLE TO zcbus;
GRANT CREATE ANY INDEX TO zcbus;
GRANT SELECT ANY TABLE TO zcbus;
GRANT SELECT ON dba_tab_columns to zcbus;
GRANT SELECT ON dba_constraints to zcbus;
GRANT SELECT ON dba_indexes to zcbus;
GRANT SELECT ON dba_tab_cols to zcbus;
GRANT SELECT ON dba_cons_columns to zcbus;
GRANT SELECT ON dba_ind_columns to zcbus;
GRANT ALTER SESSION TO zcbus;
GRANT ALTER ANY TABLE TO zcbus;
GRANT ALTER ANY INDEX TO zcbus;
GRANT DROP ANY TABLE TO zcbus;
GRANT DROP ANY INDEX TO zcbus;
GRANT INSERT ANY TABLE TO zcbus;
GRANT UPDATE ANY TABLE TO zcbus;
GRANT DELETE ANY TABLE TO zcbus;
GRANT COMMENT ANY TABLE TO zcbus;
- 或赋给用户DBA权限
GRANT dba TO zcbus;
2 补充说明
2.1 配置目标数据库参数列表
变量 | 值 | 描述 | 是否隐藏 |
---|---|---|---|
0 | label | - | NO |
1 | db_type | YASHANDB | NO |
2 | db_name | zcbus | NO |
3 | host | 127.0.0.1 | NO |
4 | port | 1688 | NO |
5 | user | zcbus | NO |
6 | password | 1qaz!QAZ | NO |
7 | db_display_name | 数据库中文名 | YES |
8 | service_host | 127.0.0.1 | NO |
9 | service_port | 10001 | NO |
10 | password_encrypt | 0 | YES |
文档更新时间: 2024-03-05 17:18 作者:程少波