Div | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
On this page
|
Include Page _SQL for Confluence 11.x announcement _SQL for Confluence 11.x announcement
Overview
SQL, SQL File, and SQL Query macros use data sources to connect to and access your databases. Creating one or more data source profiles is the fastest and most convenient method of establishing a connection. You can also create data source profiles that extend data sources configured within your application server.
Info |
---|
You must provide at least one data source to use this application within Confluence. |
...
Setup Type | Field | Description | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Simple | Database type | The type of database you are connecting to. | |||||||||||||
Simple | Data source name | You have the option to create a new data source profile by extending an existing data source. This may be useful if you'd like to tighten/alter the configuration parameter settings to be more/less restrictive for certain usage. You can of course then secure the usage using our CMSP app. | |||||||||||||
Simple | Hostname | This is the hostname or IP address of your database server. | |||||||||||||
Simple | Port | This is the port used to access your database on the server it is running against. | |||||||||||||
Simple | Database | This is the name of your database. | |||||||||||||
Both | Driver class | The class of JDBC driver that you will use to connect to your database (e.g., com.mysql.jdbc.Driver, or org.postgresql.Driver). | |||||||||||||
Both | Driver JAR location | The path on your Confluence server where the JDBC driver is located.
| |||||||||||||
By connection string |
| The database URL is entered in this format (SQL Server example): jdbc:sqlserver://<hostname>:<port>;database=<database> For example:
| |||||||||||||
Both | Username | This is the username of the database you provided. | |||||||||||||
Both | Password | This is the password of the database you provided. |
...