Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

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



Connecting to Remote Host

Description

The following is a csql utility statement to access the database on a remote host:

Syntax

csql [ optionsdatabase_name@remote_host_name

Make sure that the following conditions are met before you run the CSQL Interpreter on a remote host.

  • The CUBRID installed on the remote host must be the same version as the one on the local host.
  • The port number used by the master process on the remote host must be identical to the one on the local host.
  • You must access the remote host in a client/server mode using the -C option.
Example

The following example shows how to access the demodb database on the remote host with the IP address 192.168.1.3 and calls the csql utility.

csql -C demodb@192.168.1.3