> For the complete documentation index, see [llms.txt](https://docs.infotopics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infotopics.com/writebackextreme/features/database-connections/oracle.md).

# Oracle

Most connections to Orcale work out-of-the box.&#x20;

> #### ⚠️ TNS Support Availability
>
> Please note that Oracle TNS support is currently limited to specific versions of WriteBackExtreme.
>
> At this time:
>
> * TNS support is available from **version 5.7.5 and is not supported in 6.x versions.**
> * TNS support is **not yet available in version 6.x**, due to changes in the underlying database engine
>
> We are planning to support this in 6.x in a future update.

Occasionally we get questions about advanced configuration of the connection. We do support this but this requires advanced configuration on our side as-well.

For example, when your Oracle instance requires SSL. it will throw an error like this:

```
oci_connect(): ORA-12270: Client NOT using TCPS protocol to connect to server
```

In this case you need to create an .ora file on your system that contains the WALLET\_LOCATION to the .pem file.

## How to configure .ora configuration files:

Within the configuration file (wbe.config.toml) please add the following "tns\_admin" environment key to the section writeback-extreme.env with the value of `$ORACLE_HOME/network/admin/` (please expand ORACLE\_HOME into a absolute path).&#x20;

See example below

<pre><code>[writeback-extreme]
domain = 'localhost'
host = ':8899'

[writeback-extreme.env]
<strong>tns_admin = '/absolute/path/to/oracle/home/network/admin'
</strong></code></pre>

This exposes a TNS\_ADMIN environment variable to the background service of the application. Therefore the application/our oracle driver uses the TNS\_ADMIN to locate the '.ora' files.

### Docker

When running WriteBackExtreme in Docker, pass the variable prefixed with WBE like so:&#x20;

WBE\_TNS\_ADMIN = /absolute/path/to/oracle/home/network/admin<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.infotopics.com/writebackextreme/features/database-connections/oracle.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
