Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

(click on this box to dismiss)

Connecting with csql to a remote host

I have started csql with:

"csql XE" or "csql -S XE" (XE being a database I have),

but I do not know how to connect to it from another computer using csql. 

Can someone tell me the approach I should use ?

link comment (0) accepted answer
asked 4 years ago
21 Answers

-S is for standalone, you need to try in client-server mode (-C).

Try a search with "csql host name" on this site and you'll find

To connect to a remote database using the CSQL Interpreter, you need to enter the remote database information in the databases.txt configuration file located in the databases directory under the CUBRID installation directory (the environment variable which stores the location is $CUBRID_DATABASES).

vi $CUBRID_DATABASES/databases.txt
# local db information
demodb /home/cubrid/CUBRID/CUBRID_DATABASES/demodb DBHOST /home/cubrid/CUBRID/CUBRID_DATABASES/demodb
# remote db information
testdb /home/cubrid/CUBRID/CUBRID_DATABASES/testdb /home/cubrid/CUBRID/CUBRID_DATABASES/testdb

link comment (0)
answered 4 years ago

A simpler solution if you don't want to modify databases.txt file is to just mention the remote ip as a parameter to csql like below:

csql -C demodb@


link comment (0)
answered 4 years ago

You are either using a very old browser or a browser that is not supported.
In order to browse you need to have one of the following browsers:

Internet Explorer: Mozilla Firefox: Google Chrome: