4.2.1.3.6 Downgrade OML4Py Server for Linux on On-Premises Database

To downgrade OML4Py server to version 2.0 on your on-premises Oracle AI Database 26ai, follow the steps below.

To downgrade the OML4Py server to version 2.0 on your on-premises Oracle AI Database 26ai, follow the steps below.

  1. Download and Extract the OML4Py Server Package: Download the oml4py-server-linux-x86_64-2.1.zip package. Navigate to the directory where the zip file was downloaded, then unzip the package:
    unzip oml4py-server-linux-x86_64-2.1.zip
  2. Downgrade OML4Py Server Using a SQL Script: Locate the downgrade script at server/pyqu0102000.sql. Connect to your database as a privileged user (such as SYSDBA), and run the script in the CDB$ROOT container first:
    SQL> @@pyqd0201000.sql
    Next, log into the Pluggable Database (PDB) where you need to downgrade OML4Py Server. For example, if your PDB is named ORCLPDB:
    SQL> alter session set container=ORCLPDB;
    SQL> @@pyqd0201000.sql
  3. Verify the Downgrade: Run the following SQL command to confirm that OML4Py Server has been downgraded to version 2.0:
    SQL> select VALUE from sys.pyq_config where NAME = 'VERSION';
    The output should display:
    VALUE
    --------------------------------------------------------------------------------
    2.0