Table 11-1. refdbdrc
Variable | Default | Comment |
---|---|---|
refdblib | (none) | The path of the directory containing shareable refdb files like DTDs, HTML templates etc. If this variable is set, it will override the environment variable REFDBLIB. |
dbsport | 3306 | The port on which the database server (mysqld) listens. |
logdest | 2 | The destination of the log information. 0 = print to stderr (for debugging only, don't use when running as a daemon); 1 = use the syslog facility; 2 = use a custom logfile. The latter needs a proper setting of logfile. |
logfile | /var/log/refdbd.log | The full path of a custom log file. This is used only if logdest is set appropriately. If you start refdbd from the command line as a regular user, you should specify a file that you have write access to (you may not be allowed to create /var/log/refdb.log or write to this file as a regular user). |
loglevel | 6 | The log level up to which messages will be sent. A low setting (0) allows only the most important messages, a high setting (7) allows all messages including debug messages. -1 means nothing will be logged. |
pidfile | /var/log/refdb.pid | The file refdbd writes its process ID to. If you start refdbd from the command line as a regular user, you should specify a file that you have write access to (you may not be allowed to create /var/log/refdb.pid or write to this file as a regular user). |
port | 9734 | The port on which refdbd listens. |
remoteadmin | 0 | Set this to 1 to allow remote administration via refdba. |
serverip | 127.0.0.1 | The IP address or hostname of the machine where the database server runs. Use the default (localhost) address if the database server and refdbd run on the same machine. |
timeout | 60 | The timeout in seconds. After this time has elapsed, a stalled connection is taken down. Increase this value if you encounter frequent timeout errors due to high network traffic. |