Oracle8i Personal Edition Administrator's Guide
Release 2 (8.1.6) for Windows 98

A85313-01

Library

Product

Contents

Index

Prev Next

5
Post-Installation Configuration Tasks

This chapter describes some of the configuration tasks you must perform before using products like Oracle8i Navigator. Where appropriate, the chapter provides references to other guides for those configuration tasks.

Specific topic discussed:

Configuring Oracle 8i Navigator

Step 1: Create a PO8 User Account

Oracle8i Navigator uses the PO8 user account to connect to the local Oracle8i Personal Edition database. Create PO8 user account if you have migrated your Personal Oracle7 Release 7.x or Personal Oracle8 Release 8.x to an Oracle8i Personal Edition Release 8.1.6 database.

To create a PO8 user account:

  1. Start Server Manager from the MS-DOS command prompt:

    C:\> SVRMGRL
    
  2. Connect to the SYSTEM user account:

    SVRMGR> CONNECT SYSTEM/MANAGER
    

    where MANAGER is the password for the SYSTEM account when Oracle8i Personal Edition is initially installed. If you have changed this password, enter the new password.

  3. Enter the following commands:

    SVRMGR> CREATE USER PO8 IDENTIFIED BY PO8;
    SVRMGR> GRANT DBA TO PO8;
    
  4. Exit Server Manager:

    SVRMGR> EXIT
    

Step 2: Changing the User Password

Change the password for each of these user names after you install Oracle8i Personal Edition. Use the Oracle8i Navigator to change these passwords.

To change the user account passwords using Oracle8i Navigator:

  1. In the Oracle8i Navigator window, right-click the user whose password you want to change.

  2. Choose Properties from the pop-up menu.

  3. Type the new password in the New field.

  4. Type the new password again in the Confirm field.

  5. Click OK.

By default, the Navigator stores the password for the PO8 account in the registry. If you do not want the password stored in the registry, then disable the feature.

To disable the save password feature:

  1. Select Local Database in the Oracle8i Navigator.

  2. Right-click, and choose Properties from the pop-up menu.

  3. Clear the check from the Save Password box, and click OK.

Step 3: Enable Two-Phase Commit

When the database is started, it does not automatically enable support for an incoming connection that allows for the two-phase commit (a distributed feature).

To enable two-phase commit:

  1. From the Taskbar, choose Start > Run.

  2. Enter:

    oraconct on
    
  3. Click OK.

To disable this feature:

  1. From the Taskbar, choose Start > Run.

  2. Enter:

    oraconct off
    
  3. Click OK.

Step 4: Configure a Database Connection

A connection is predefined for the local database. If you want to establish a connection to a remote database, then create the database connection. Once you have created a database connection to a remote database, select the database connection in Oracle8i Navigator to establish an active database connection to a remote database. After you have connected to a remote database, you can view and copy objects located on a remote database. If the remote database is a master replication site, then you can also perform replication.

To create a database connection to a remote database:

  1. From the Oracle8i Navigator, select Database Connections.

  2. Right-click on Database Connections, and choose New from the pop-up menu.

    The New Database Connections Properties sheet appears:

  3. Enter the name of the new database connection.

  4. Enter the user name and password that you will use to connect to the database.

    Remember that the privileges associated with the user name you specify will affect how you can use the database with this database connection.

  5. Click Configure.

    Oracle Net8 Easy Config appears:

  6. Enter a service name (database connection), and click Next.

    The next page appears:

  7. Select the networking protocol you want to use to connect to the remote database, and click Next.

    The next page appears:

  8. Enter the host machine name of the database you want to connect to, and specify the port number which the host machine network listener is using. Then click Next. You may need to consult with your network administrator for this information.

    The next page appears:

  9. Specify the `Service Name' if you are using Oracle8i 8.1.x database or, specify the SID of the remote database you want to connect to if you are using Oracle8i 8.0.x database, and click Next.

    The SID is a unique identifier for an Oracle database instance. You may need to consult with your database administrator for this information.

    The next page appears:

  10. Click Test.

    The Connection Test page appears:

    Oracle Net8 Easy Config tests the connection using the information you have provided, and returns a message of either success or failure. If your connection test is not successful, then an error message code appears. Use the online help to research the code to help you correct the problem.

  11. If you want to test with a different user connection, click Change Login. Enter username, password and click Test.

  12. Click Close.

    You will be taken back to the previous screen, click Next. The next page appears.

  13. Click Finish or click Back to return to previous pages and make modifications to your connection information, if needed.

  14. Select the service (connection) name that you just created from the drop-down list in the New Database Connection Properties sheet:

  15. Click OK.

    The new database connection is added to the Database Connections folder in Oracle8i Navigator. To connect to the remote database specified by the connection, single-click the database connection name (in this case `sample1'). A list of database objects appears in the right side window of the Navigator.

Step 5: Create a Project

A project is a collection of different database objects. You choose which objects you want to include in a project. For example, you may want to create a project called Clients. You might include tables or views containing customer names, addresses, past items purchased, past sales, and payables. You may create these tables or views yourself, or you may copy an object from another database. You may include other objects such as spreadsheets. See the Oracle8i Navigator online help for detailed instructions on how to create a project.


Prev Next
Oracle
Copyright © 2000 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index