Before You Connect
Before You Connect
To connect to Oracle, you must first update the appropriate environment variable. This variable must contain a folder location that includes the Oracle OCI Library assemblies, which are shipped alongside the server.The correct environment variable depends upon your platform:
- Windows: The native libraries should be on your PATH.
- Mac: The native libraries should be on your DYLIB_LIBRARY_PATH.
- Linux: The native libraries should be on your LD_LIBRARY_PATH.
These native libraries can be found in the lib folder inside the installation directory of the server.
The NativeFolder property specifies the path to the directory that contains the native DLLs. By default, the server uses the system’s standard library-loading policy. You can specify either a full or relative path. On Windows and macOS, setting this property is a viable alternative to setting up environment variables.
Note for Linux Users
The Linux Oracle OCI libraries used by the server have additional required dependencies on the AIO and libgcc libraries.
- Debian/Ubuntu:
sudo apt-get install libaio1 apt-get install libc6 libstdc++6 zlib1g libgcc1
- RHEL/Fedora:
sudo yum install libaio yum install glibc libstdc++ zlib libgcc
Minimum Linux Versions
Here are the minimum supported versions for Red Hat-based and Debian-based systems:
| OS | Min. Version |
| Ubuntu | 18.04 |
| Debian | 10 |
| RHEL | 8 |
| Fedora | 28 |
| SUSE | 15 |