Skip to content

Home

Development

IDEs

API Explorer

Releases

Release notes

Martini Runtime

Martini Desktop

Martini Online

Feature requests

Bug reports

Database connection status

A database connection's status is is set by starting or stopping a database connection, either through the user interface or one-liners from DatabaseConnectionPoolMethods. 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 visual indicator 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 visual indicator in Martini Desktop and Online.

Configuration

To start or stop a database connection, follow the steps below:

Starting multiple database connections

Starting a database connection

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.

A database connection configured not to automatically start up

A database connection configured not to automatically start up