軟件測試+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.

          主站蜘蛛池模板: 揭阳市| 林周县| 祁东县| 保亭| 绍兴市| 平乡县| 海阳市| 邵阳市| 聊城市| 德安县| 泸溪县| 长兴县| 清苑县| 贵港市| 定远县| 棋牌| 格尔木市| 华宁县| 莱芜市| 岗巴县| 牡丹江市| 南皮县| 随州市| 阿荣旗| 怀化市| 静宁县| 新平| 夏津县| 东平县| 盈江县| 北川| 策勒县| 北宁市| 太仓市| 周口市| 彭泽县| 临西县| 乐都县| 彝良县| 寿光市| 托克托县|