軟件測試+JAVA

          -- 新手上路
          posts - 13, comments - 7, trackbacks - 0, articles - 0
          http://kb-index.mercury.com/web/queries/KBAview.asp?Product=TD&Conceptid=7095&BVUserID



          Problem Description: How to create a user in Oracle to create new Oracle projects

          The SQL statements for an Oracle Database Administrator to run in order to give a TestDirector user privileges for creating new TestDirector Oracle projects.

          Please refer to article Problem ID 7093 - How does TestDirector create Oracle projects for explanation.

          Please refer to this article for more explanation on checking permissions: Problem ID 7145 - How to check permissions for an Oracle user creating TD projects


          Solution: SQL statements to create a user in Oracle to create projects

          Note:
          Please have your Oracle DBA do this for you.

          TestDirector 7.01 - 7.2

          Here is a way to create an Oracle user named "projadmin" that can be used to create new TestDirector projects.

          1. Using the SQL Plus Utility, connect to the Oracle Server using the "SYS" account. Execute these SQL statements and verify that each statement is executed successfully:

          create user projadmin identified by projadmin;
          grant grant any role, create user,drop user to projadmin;
          grant select on dba_free_space to projadmin;
          grant connect to projadmin;
          grant resource to projadmin with admin option;

          If any of the SQL statements failed, that means the "SYS" account does not have the enough privileges; please refer to your DBA.

          2. Open the Project Administrator, try to create a new Oracle project using the user "projadmin" with password "projadmin" to log into the Oracle Server.

          TestDirector 7.5

          1. Using the SQL Plus Utility, connect to the Oracle Server using the "SYS" account. Execute these SQL statements and verify that each statement is executed successfully:

          create user projadmin identified by projadmin;
          grant grant any role, create user, drop user to projadmin;
          grant select on dba_free_space to projadmin;
          grant connect to projadmin;
          grant resource to projadmin with admin option;
          grant select on dba_tablespaces to projadmin;
          grant create session to projadmin with admin option;
          grant create table to projadmin with admin option;
          grant create view to projadmin with admin option;
          grant alter user to projadmin;
          grant select any table to projadmin with admin option;

          If any of the SQL statements failed, that means the "SYS" account does not have the enough privileges; please refer to your DBA.

          2. Open the Site Administrator, try to create a new Oracle project using the user "projadmin" with password "projadmin" to log into the Oracle Server.

          TestDirector 7.6 and 8.0

          The following Oracle privileges are required by TestDirector 7.6 and 8.0. Note that the user account should be created on the Oracle database server by an Oracle database administrator logging in as "SYS".

          Note:
          The user name must be capitalized.

          CREATE USER <USER> IDENTIFIED BY <PASSWORD>
          DEFAULT TABLESPACE <USERS_TABLE> TEMPORARY
          TABLESPACE <TEMP_TABLE> ACCOUNT UNLOCK;
          GRANT CREATE SESSION TO <USER> WITH ADMIN OPTION;
          GRANT CREATE TABLE TO <USER> WITH ADMIN OPTION;
          GRANT CREATE VIEW TO <USER> WITH ADMIN OPTION;
          GRANT CREATE USER TO <USER>;
          GRANT SELECT ON "SYS"."DBA_FREE_SPACE" TO <USER>;
          GRANT SELECT ON "SYS"."DBA_TABLESPACES" TO <USER>;
          GRANT ALTER USER TO <USER>;
          GRANT DROP USER TO <USER>;
          GRANT SELECT ON V$INSTANCE TO <USER>;

          Note that this information can be found in the TestDirector Administrator's guide in the Chapter on Configuring Servers and Parameters. It is in the section for defining new database servers for Oracle.

          Quality Center 8.0

          Please refer to Problem ID 32903 - What are the minimum permissions for Oracle in Quality Center.

          主站蜘蛛池模板: 禹州市| 吉隆县| 吉水县| 黎川县| 洪雅县| 望江县| 肇庆市| 凌海市| 康平县| 五原县| 隆林| 封丘县| 拜泉县| 乌鲁木齐市| 西乌| 偏关县| 碌曲县| 昌宁县| 灌南县| 共和县| 洪湖市| 黄龙县| 新干县| 凭祥市| 沽源县| 泰顺县| 甘孜县| 房产| 元江| 翁牛特旗| 衢州市| 明光市| 同江市| 陈巴尔虎旗| 晋江市| 松原市| 左云县| 天水市| 澄江县| 广昌县| 镇沅|