HomeMogDBMogDB StackUqbar
v3.0

Documentation:v3.0

Supported Versions:

Other Versions:

Verifying the Installation

Use the gs_om tool provided by MogDB to check the database status.

Prerequisites

The MogDB database has been installed.

Procedure

  1. Log in to the server as user omm.

  2. Run the following command to check whether the database is normal. If the value of cluster_state is Normal, the database is running properly.

    gs_om -t status
  3. After the database is installed, a database named postgres is generated by default. When connecting to a database for the first time, you can connect to this database.

    In the following command, postgres indicates the name of the database to be connected, and 15400 indicates the port number of the primary database node, that is, the value of dataPortBase in the XML configuration file. Replace the values as required.

    gsql -d postgres -p 15400
Copyright © 2011-2024 www.enmotech.com All rights reserved.