Wyn Enterprise User Guide

Wyn Enterprise: Oracle Data Provider

In this section, you will learn how to connect to the Oracle database in Wyn Enterprise.

Note: The supported version is Oracle 10g and higher (the Oracle Client installation is required). For Oracle 11g or higher, the Oracle Client installation is not required.

To create an Oracle data source in Wyn Enterprise, follow these steps.

  1. On the Resource Portal, navigate to Create (+) > Create Data Source.

  2. Select Oracle in the data source list on the left or in the icon view on the right.

  3. Fill in the database configuration information for the selected data source.

Field Description
Name A custom input data source name (required field).
Host A host name or host IP.
Port A port number, the default is 1521.
Username A user name to connect to the Oracle database.
Password A password of the Oracle user.
Service Name Enter the server Oracle instance name, such as ORCL, or click the drop-down arrow to select the instance.
Use Configuration String (Advanced) If you check this option, you only need to fill in this item and the name of the data source. The format of the connection string is:
USER ID=myUserId; Password=myPassword; Data Source="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST= myOracleDBHost)(PORT=myOracleDBPort))(CONNECT_DATA=(SERVICE_NAME=myOracleDBServiceName)))";
In addition, you can use the user context attribute in the string to filter data, in the format "@{User context name}" such as "@{DBName}". See Secure Data Management for details.
  1. Verify the Oracle connection by clicking Test Connection. If the data source is available, and the credentials are correct, you receive a notification on successful connection.

  2. Click Create after the connection is successful.

After the successful creation, you can view the added data source in the Categories tab of the Resource Portal.

Note: If Wyn Enterprise is installed in a Linux system and needs to connect to the Oracle data source in the Windows system, you must first set the time zone in the Linux system to the same time zone as the Oracle data source and restart the Wyn Enterprise system. Linux commands