Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register


1
(click on this box to dismiss)

How to bind_address in CUBRID?

MySQL has this bind_address parameter that users can configure to allow only the indicated IP to access the server. Is there any way to bind IP address in CUBRID? Otherwise, how to configure it so that only specific IP address could access the server?

link comment (0) accepted answer
asked 3 years ago
eye
91
7 Answers
1

In order to restrict the database access by IP, cubrid.conf main configuration file must be modified.

The details of how to set the allowed IP address or "bind_address" for each database are described in the manual here:
http://www.cubrid.org/manual/840/en/Database Server Access Limitation

Briefly, you must add these lines to cubrid.conf:

# cubrid.conf

access_ip_control=yes

access_ip_control_file="/home1/cubrid1/CUBRID/db.access"

and the db.access file should look like:

[@dbname1]

10.10.10.10

10.156.*

 

[@dbname2]

*

 

[@dbname3]

192.168.1.15

If you have already done this and want to change the db.access file, just run the following command after you modify the file:

cubrid server acl reload <database_name>
link comment (1)
answered 3 years ago
nicola_magdalena
248
tagged




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



Internet Explorer: Mozilla Firefox: Google Chrome: