Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

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

databases.txt

The databases.txt file that has information on servers to be connected by a broker and their order is located in the $CUBRID_DATABASES directory; the information can be configured by using db_hosts. You can specify multiple nodes by using a colon (:).

The following is an example of configuring databases.txt:

#db-name    vol-path        db-host     log-path

tdb01       /home/cubrid/DB/tdb01 masterdb.cub:slavedb.cub   /home/cubrid/DB/tdb01/log

tdb02       /home/cubrid/DB/tdb02 masterdb.cub:slavedb.cub   /home/cubrid/DB/tdb02/log