Start OBShell
You can start OceanBase Shell (OBShell) by running the following command:
${home_path}/bin/obshell admin start [--ip] [--port]
Make sure that you have the 777 permission on the /tmp directory, or the /tmp/obshell directory exists and you have the 777 permission.
The following table describes the options in the command.
| Option | Required | Data type | Default value | Description |
|---|---|---|---|---|
| --ip | No | string | None | The IP address of OBShell. |
| --port | No | int | 2886 | The port number of OBShell. |
Notice
- If you have not started the OBServer node where OBShell is stored when you start OBShell for the first time, you must specify the IP address. The port number is optional.
- If you have started the OBServer node where OBShell is stored when you start OBShell for the first time, the port number is optional, and you do not need to specify the IP address.
- If you have started OBShell, both the IP address and the port number are optional.
Stop OBShell
You can stop OBShell by running the following command:
${home_path}/bin/obshell admin stop