next up previous
Next: bundle Up: Configuration Previous: network device

database

Databases list. Can be several databases. First in list - main database. During work tacppd try to connect to first database and if connect will refused it will conecct to second. And so more. Updates, Inserts and other changes to database will be doing to all databases. There no more things for maintain databases equality. May be it will do by some external tools.

! database  

database tacppddb@192.168.0.9:5432

 cryptokey 'none'

 login tacppd

 password TacppdPwd

 module pgsql.so

 shutdown no

 exit

String ``tacppd@192168.0.9:5432'' means that database server on host 192.168.0.9 on port 5432 use database named ``tacppddb''. Cryptokey used for crypt passwords in database. Key = ``none'' - unencrypted (for debugging). In any case crypted and cleartext passwords in database coded to Base64.

work with database system BE CAREFUL with database cryptokey!!! If you lost key, you lost your database!!! Or use "none" key to disable encryption.

database db_name@db_host:db_port cryptokey <key> login <db_login> password <db_pwd> module <database driver> shutdown no



2005-07-21