Start a database
Learn how to start a database.
In Exasol 2025.1 and later you can use Exasol Admin to start and stop databases. For other versions, you must use either ConfD or the Administration API.
Prerequisites
There are no prerequisites for this procedure.
Procedure (Exasol Admin)
Exasol Admin is available in Exasol 2025.1 and later.
-
Log in to Exasol Admin and open the Databases page.
-
Click on the Start database button .
The database status will change from Stopped to Running.
Verification
When the database is running, click on the Test button to verify that the the database is connectable. A checkmark on the button indicates that the test was successful.
Procedure (command line)
This procedure uses the c4 and confd_client command-line tools in a Linux terminal. To learn more about these tools, see Exasol Deployment Tool (c4) and ConfD.
-
Connect to the cluster operating system (COS) using
c4 connect -i PLAY_ID -s cos.Example:
Copy./c4 connect -i c3275f84 -s cosTo find the play ID, you can use
c4 ps.For more information about how to use c4 commands, see How to use c4.
-
To find the database name when you are connected to COS, use the ConfD job db_list.
Example:
Copyconfd_client db_list
- MY_DATABASE -
To start the database, use the ConfD job db_start with the following parameters:
Parameter name Data type Description db_namestring The name of the database. clusterstring This parameter is only relevant in AWS native cloud deployments.
The database cluster(s) that should be started. If the parameter is omitted, the database is started on all clusters.
Accepted values are:
MAINStarts the main cluster. The database name can be passed instead of MAIN.<clustername>Starts a specific cluster+allStarts all clusters
Example:
Copyconfd_client db_start db_name: MY_DATABASEExamples (AWS native deployment with multiple clusters):
To start the main cluster and all worker clusters:
Copyconfd_client db_start db_name: MY_DATABASE
# or
confd_client db_start db_name: MY_DATABASE cluster: +allTo start only the main cluster:
Copyconfd_client db_start db_name: MY_DATABASE cluster: MAIN
# or
confd_client db_start db_name: MY_DATABASE cluster: MY_DATABASETo start a specific worker cluster (the main cluster must be running):
Copyconfd_client db_start db_name: MY_DATABASE cluster: WORKER1
Verification
To verify that the database is running, use the ConfD job db_state.
Example:
confd_client db_state db_name: MY_DATABASE
...
Result:
'running'

