Database connection status
A database connection's status is
is set by starting or stopping a database connection,
either through the user interface or
functions from DatabaseConnectionPool
.
Certain actions are only available on certain statuses; for example, you may
configure the properties of a database connection only when it stopped.
Status types
The following are the different possible connection statuses:
-
STARTED
Indicates that there is an established connection between Martini and the database. Connectivity is required if any of your applications need to use the database. A database connection with this status is shown with a green badge in Martini Desktop and Online.
-
STOPPED
Indicates that there is no established connection between Martini and the database. A database connection with this status is shown with a red badge in Martini Desktop and Online.
Configuration
To start or stop a database connection, follow the steps below:
Right click on the database connection and then click Start or Stop from the context menu. You can start or stop multiple databases connections at once by pressing or while clicking on database connection nodes.
You'll know that a database connection has been started when you see a green badge at the corner of the database icon; stopped when it has a red badge instead.
Disabling auto start
When Martini starts, it will start up all packages, endpoints, and database connections
unless set not to. To disable this behavior in database connections, they must be configured such that their Auto
Start
property is set to false
or is unchecked in the form.