Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.3.1 |  CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

Starting and Stopping Database Server

Starting Database Server

The following example shows how to run demodb server.

% cubrid server start demodb

@ cubrid server start: demodb

 

This may take a long time depending on the amount of recovery works to do.

 

CUBRID 2008 R4.1

 

++ cubrid server start: success

If you start demodb server while master process has stopped, master process automatically runs at first and then a specified database server runs.

% cubrid server start demodb

@ cubrid master start

++ cubrid master start: success

@ cubrid server start: demodb

 

This may take a long time depending on the amount of recovery works to do.

 

CUBRID 2008 R4.1

 

++ cubrid server start: success

The following message is returned while demodb server is running.

% cubrid server start demodb

@ cubrid server start: demodb

++ cubrid server 'demodb' is running.

cubrid server start runs cub_server process of a specific database regardless of HA mode configuration. To run database in HA environment, you should use cubrid heartbeat start.

Stopping Database Server

The following example shows how to stop demodb server.

% cubrid server stop demodb

@ cubrid server stop: demodb

Server demodb notified of shutdown.

This may take several minutes. Please wait.

++ cubrid server stop: success

The following message is returned while demodb server has stopped.

% cubrid server stop demodb

@ cubrid server stop: demodb

++ cubrid server 'demodb' is not running.

cubrid server stop stops cub_server process of a specific database regardless of HA mode configuration. Be careful not to restart the database server or occur failover. To stop database in HA environment, you should use cubrid heartbeat stop.

Restarting Database Server

The following example shows how to restart demodb server. demodb server that has already run stops and the server restarts.

% cubrid server restart demodb

@ cubrid server stop: demodb

Server demodb notified of shutdown.

This may take several minutes. Please wait.

++ cubrid server stop: success

@ cubrid server start: demodb

 

This may take a long time depending on the amount of recovery works to do.

 

CUBRID 2008 R4.1

 

++ cubrid server start: success