Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If upgrading to the next release, i.e. 4.0.1 to 4.0.2, then

Extract the downloaded zip and to retrieve the migration.sql. As sys or system, execute the migration.sql file to upgrade FlexDeploy schemas.

...

From the downloaded distribution, extract the /database/upgrade folder.  This folder includes a number of migration*.sql files which upgrades the FlexDeploy schemas.  You will need to execute these scripts from the version of FlexDeploy you currently have, up to the latest version.  And they must be executed in that order.  These scripts should be executed as system, sys, or another user which has privileges to create objects in other schemas, performs grants, etc.  You can load and execute these scripts using other tools such as Toad or SQL Developer, but the instructions here are for using the sqlplus client.


Info
titlesqlplus

Oracle sqlus is part of the Oracle Client, and may be executed on any host which has it installed. If the Oracle Client is not installed on the same host as where you are installing FlexDeploy, you can copy the scripts to any host which does.

To launch sqlplus:

Code Block
languagebash
export ORACLE_HOME=<your Oracle Home directory>
export ORACLE_SID=<the SID of your database>
spool migration4.0.3.out (change for each script execution so logs are preserved)
$ORACLE_HOME/bin/sqlpus (login as sys or system when prompted)
SQL> <<execute scripts as shown above>>


For example,