How to Use CUBRID Utilities (Syntax)

How to use CUBRID utilities (syntax) is as follows:

Controlling CUBRID Service

The following cubrid utility syntax shows how to control services registered in the configuration file. One of the followings can be specified in command: start, stop, restart, or status. No additional option or argument is required.

cubrid service command

command : { start | stop | restart | status }

Controlling Database Server

The following cubrid utility syntax shows how to control database server process. One of the followings can be specified in command: start, stop, restart, or status. Database name must be specified as an argument of commands (except status).

cubrid server command [<database_name>]

command : { start | stop | restart | status  }

Controlling Broker

The following cubrid utility syntax shows how to control CUBRID broker process. One of the followings can be specified in command: start, stop, restart, or status; in addition to these commands, on (to start a specific broker) and off (to stop a specific broker) are provided.

cubrid broker command

command : { start | stop | restart | status [<broker_name>] | on <broker_name> | off <broker_name> | reset <broker_name> | acl {status|reload} <broker_name> }

Controlling CUBRID Manager Server

To use the CUBRID Manager, the Manager server must be running where database server is running. The following cubrid utility syntax shows how to control the CUBRID Manager process. One of the followings can be specified in command: start, stop, or status.

cubrid manager command

command : { start | stop | status }

Controlling CUBRID HA

The following cubrid heartbeat utility syntax shows how to use CUBRID HA. One of the followings can be specified in command: start, stop, reload, deact, or act. For details, see Utilities of cubrid heartbeat.

cubrid heartbeat command

command : { start | stop | reload | deact | act }