Each Mercury report is associated with a specific Connection, which tells Mercury what data source to use and how to talk to it. Mercury can use a variety of different data providers – everything from SQL Server to CSV text files. The exact set of available providers depends on your version of Mercury.
Select the Settings > Admin Tools from the ribbon at the upper right of the main Mercury window, and then click Connections.
A window similar to the following is displayed:
Select New from the Manage Connections window.
A new row will appear in the grid, marked with a big red asterisk to signify that it is new. Enter the details about the connection in the row.
When you have chosen a data provider, a Properties grid becomes available in the lower half of the window.
Each data provider has its own specific set of properties. We suggest you start by supplying the values for required properties only. Required properties with no values are identified by the icon.
In general, most connections require at least two properties: the data source and database.
A typical database server – perhaps the one powering your company’s accounting system, or manufacturing system, or something similar – will also require Credentials – a username and password granting access to the data. Some servers allow you to automatically use your logged-in Windows credentials – this is typically called Integrated Security. “Yes” or “True” means “use my windows credentials”. “No” or “False” means that a separate, database-specific username and password are required.
If you are not sure what the required values should be or if your particular connection does not work after supplying only the required values, check with your IT department.
In the above image, a new Connection to Microsoft’s SqlClient (for use with Microsoft’s SQL Server) is being created. There are three required properties, and multiple optional properties.
Once the required and optional properties are set, click Save to create the connection.
Select Edit from the Manage Connections window. (You can edit any or all connections and their properties.)
See “Create a new connection” above for a description of connection details and properties.
Click on the row to select the connection that you would like to duplicate and then click Clone.
A new row will appear at the top of the grid. The clone is identical to the original connection except for the Name, which is blank.
Provide a new Name for the connection (it must be unique) and modify the Description if you wish.
Change the connection properties, if necessary.
Click Save on the toolbar when you’re finished. (In the above example, the Save button is disabled, because the connection name is required but hasn’t yet been entered.)
Reset cancels all pending changes. Once confirmed, all edits made as of the last "Save" will be discarded.