数据库创建完成后,需要创建cognos知识库的专用用户,并赋权
connect system/cognos@cognos;
CREATE USER "COGNOS" IDENTIFIED BY "cognos" default tablespace USERS
temporary tablespace TEMP profile DEFAULT;
grant connect to COGNOS;
grant dba to COGNOS;
grant delete_catalog_role to COGNOS;
grant ejbclient to COGNOS;
grant execute_catalog_role to COGNOS;
grant exp_full_database to COGNOS;
grant gather_system_statistics to COGNOS;
grant imp_full_database to COGNOS;
grant resource to COGNOS;
grant select_catalog_role to COGNOS;
-- Grant/Revoke system privileges
grant create any materialized view to COGNOS;
grant create any table to COGNOS;
grant create any view to COGNOS;
grant create table to COGNOS;
grant drop any materialized view to COGNOS;
grant drop any table to COGNOS;
grant unlimited tablespace to COGNOS;