Running Upgrade Scripts with an Oracle XE Database

If you are upgrading from a previous version that uses an Oracle XE database, you must run scripts before upgrading:

  1. Download and extract the media zip file locally to the client.
  2. Go to \database\scripts\install\PPM_<release level> and update the following scripts in a text editor:
    • manual_script_before_upgrade.sql

      If you are not using the schema names admuser, privuser, or pxrptuser, update the references with your actual admuser, privuser, and pxrptuser names. Default schema names are admprm$pm and privprm$pm.

    • manual_script_before_install.sql

      By default, grant options are being made to the SYSTEM schema user. The upgrade requires entry of a DBA user account, so if you use SYSTEM, no update is needed. However, if you use another DBA account for the upgrade, update the references to SYSTEM with the actual DBA account.

  3. From the command line, run sqlplus sys/@<DBNAME> as sysdba and enter the password when prompted.

    where <DBNAME> is the Net Service Name for your database, which can be found in your $ORACLE_HOME\NETWORK\ADMIN\TNSNAMES.ORA file.

  4. Go to \database\scripts\install\PPM_<release level> and run manual_script_before_upgrade.sql.

    For example, at the SQL prompt, enter @C:\P6_Professional_Database\database\scripts\install\PPM_15_01_00\manual_script_before_upgrade.sql.

  5. Go to \database\scripts\install\PPM_<release level> and run manual_script_before_install.sql.

    For example, at the SQL prompt, enter @C:\P6_Professional_Database\database\scripts\install\PPM_15_01_00\manual_script_before_install.sql.

Related Topics

Upgrading P6 Professional

Upgrading with an Oracle XE or Microsoft SQL Express Database

Upgrading with a SQLite Database

Unattended Database Migration Using the Standalone Database Migration Tool

Running Database Configuration After Upgrading

Convert Methodologies to Projects



Legal Notices | Your Privacy Rights
Copyright © 1999, 2020

Last Published Wednesday, February 3, 2021