Difference between revisions of "Conf/Db"

From AOLserver Wiki
Jump to navigation Jump to search
(Created page with '== ns_section "ns/db/drivers" == ; sybase_driver : Use nsext.so for a proxy daemon ; postgres_driver :…')
(No difference)

Revision as of 14:37, 21 December 2011

ns_section "ns/db/drivers"

sybase_driver
Use nsext.so for a proxy daemon
postgres_driver
An internal driver
localdaemon
Name of the proxy daemon executable
param
Usually the $SYBASE env var
sybase_pool
Name of the proxy daemon executable
postgres_pool
Usually the $SYBASE env var
driver (SP)


datasource (SP)


user(SP)


password(SP)
connections (SP)
logsqlerrors(SP)
Verbose SQL query error logging
verbose(SP)
Verbose error logging
maxidle(SP)
Max time to keep idle db conn open
maxopen(SP)
Max time to keep active db conn open


driver (PG)


datasource (PG)


user(PG)


password(PG)
connections (PG)
logsqlerrors(PG)
Verbose SQL query error logging
verbose(PG)
Verbose error logging
maxidle(PG)
Max time to keep idle db conn open
maxopen(PG)
Max time to keep active db conn open


Accessing DB pools

pools
Wildcard gives access to all
defaultpool

Modules to load

nssock
nsssl
nscp
nslog
nscgi
nsperm


Loading a TCL module

tcl_module