The Confluence Installation Wizard will guide you step-by-stage in configuring the Oracle database in confluence.
Using a JDBC connection (default)
JDBC is the recommended way to connect your confluence to the database.
The Confluence Installation Wizard will provide you with the following 2-step options:
Simple --this is the simplest way to connect your confluence to the database.
through the connection string-- using this option, you need to configure specific parameters at the same time you also need to have some database connection aspects just to build the correct connection URL.
Based on your setup, you need to provide some of the following parameters.
Easy (Simple) |
Host name (Hostname) |
The host name or IP address used by your database server. |
Easy (Simple) |
Ports (Port) |
The port of the Oracle server, if you do not modify the port of the Oracle server at the time of installation, Oracle uses port 1521 by default. |
Easy (Simple) |
Service Name (services name) |
You confluence the name of the service used by the database. |
Through the connection string (by connection string) |
Database URL (db URL) |
The URL of the database uses the following format:
jdbc:oracle:thin:@//<HOST>:<PORT>/<SERVICE> <SERVICE> can be either a SID or a service name. For example:jdbc:oracle:thin:@//localhost:1521/confluence By default, the new URL style is provided using the thin driver, and you also need to develop a tnsnames style. |
also required (Both) |
User name (Username) |
The user name you need to connect to the database, in the example above, the user name is confluenceuser . |
also required (Both) |
User password (Password) |
The user name password you need to connect to the database. |
Unsure how to find your host name, port, and SID?
Using JNDI data sources
If you want to use the Jdni data source, please refer to the content in configuring a DataSource connection for configuration. You need to configure before starting confluence, and in the Setup wizard, confluence only uses the options provided in your Tomcat configuration.
Https://www.cwiki.us/display/CONFLUENCEWIKI/Database+Setup+for+Oracle
Confluence 6 Oracle Driver input your database details