Overview
At least one Data Source or Data Source Profile needs to be configured before you can use the SQL Macro or or SQL-query Macro or or SQL-file.
Description
This page describes two methods to configure of configuring Data Sources for the SQL macros provided by SQL for Confluence.
The SQL Macros use Data Sources to access databases. A Data Source defines the access parameters, including credentials. The same database access information is required for each method remains the same. Similarly, the database must allow access using if the information provided no matter which method is , regardless of the method used.
Method | Primary Benefit | Key Attributes | Documentation | Express Edition | Pro Edition |
---|---|---|---|---|---|
Data Source Profiles | Convenience |
| Configure Data Source Profiles | ||
Application Server-based Data Source | Performance |
| Configure Application Server-based Data Sources - 9.x |
Tip |
---|
You can configure data sources using either of the methods or both - for . For instance, use a data source profile while testing or for low-use scenarios, then switch to a server-based data source when/if it becomes clear it is going to be around for a long while-term use. |
Tip | ||
---|---|---|
| ||
Macro Security for Confluence can be used to control access to specific Data Sources in the same way no matter what method is , as stated above, regardless of the method used. |
Tip | ||
---|---|---|
| ||
Give your users better response times and reduce the Reduce the load on your server with faster response times by using Cache for Confluence macros app for heavy use scenarios. |
The Data Source is referenced using the dataSource (Data Source name) parameter. The exact configuration of a Data Source is specific to a database and application server and database specific. The configuration must be done by a Confluence administrator . A Confluence administrator must set up the configuration, and the Confluence application server must be restarted for changes to be activetake effect. The configuration must be done very carefully as any errors result in doing so, will render the Data Source being unusable . Each database you need to access that is accessed in Confluence needs to requires a have a Data Source configuration.