Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.4.0 | 

Changing Database Info of the CM User

Description

The cm_admin changedbinfo utility is used to change database information of the specified CM user.

Syntax

cm_admin changedbinfo options cmuser-name database-name

options :

[{-u | --uid} userid]

[{-h | --host} brokert-ip]

[{-p | --port} broker-port]

  • cm_admin : An integrated utility for the CUBRID Manager management.
  • changedbinfo : The command that used to update the database information of the specified cmuser.
  • Options : The -u, -h and –p options are supported. For details about each option, see its description and examples.
  • cmuser-name : The name of the CM user.
  • database-name : The name of the database which is going to be updated.
Option

Option

Description

-u
--uid

Specifies the user id of the database.

-h
--host

Specifies the host of the broker, with which client can access the database.

--port

Specifies the port number of the broker, with which the client can access the database.

Database user id (-u)

The following example shows updating the database info of database “testdb”of a CM user named “testcm” with user id “uid”.

cm_admin changedbinfo -u uid testcm testdb

Host IP of broker (-h)

The following example shows updating database info of database “testdb” of a CM user named “testcm” with host ip “10.34.63.132”.

cm_admin changedbinfo -h 10.34.63.132 testcm testdb

Port of the broker (-u)

The following example shows updating database info of database “testdb” of a CM user named “testcm” with broker port “33000”.

cm_admin changedbinfo -p 33000 testcm testdb