Database Connections
Micromine Geobank is not restricted to one datasource per configuration. A configuration allows you to connect to as many datasources as are needed.
With Micromine Geobank you can access data held in multiple Microsoft SQL Server ® relational databases.
To enable Micromine Geobank to access the datasource, a connection to a database must be configured. The database could be accessed on a local computer, or accessed across a network.
To add a datasource to the current configuration:
- In the Configuration Manager, right-click on the Datasources node of the navigation tree and select New | Datasource.
- Enter connection parameters on each page of the Datasource Property Editor.
When you want to modify the Datasource connection to access a new database, it is strongly recommended that you edit the properties of an existing Datasource connection and then save it with a new name. This is because deleting connections can lose the connection to tasks that are associated with a particular Datasource and they cannot be recovered.
To do this, right-click on the Datasources node and select Copy from the drop-down menu. Then right-click on the newly created copy and change the Name and Description on the Datasource page of the Datasource Property Editor
If you have multiple Datasources, Micromine Geobank tasks that are dependent on access to a particular data source will prompt you to choose the Datasource before further processing.
For example, the image below shows a case where there are two Datasources.
When you run a task from the Execute button, the provided drop-down allows you to choose between the alternatives.
Click the desired Datasource to execute the task.
Execute (with)
When a task is selected and more than one datasource has been added for the same configuration, an Execute (with) menu is enabled on the ribbon and on the right-click menu:
Refresh Datasource
To refresh the mappings and schemas of the datasources in the tree, a Refresh option is available on the context menu of the Datasources node. You can also refresh each datasource individually.
To quickly refresh the mappings and schema of a dataset, you can also click a Refresh button above the list of tables and views on the Table Configuration tab of the Dataset Property Editor.