|
From: Nick T. <ni...@fb...> - 2003-01-23 09:34:41
|
I have some databases (db1, db2 etc). Some packages should work with one databasebase, some - at once with several. How to configure OI, to use this opportunity? Chris wrote about it: CW> $WEBSITE_DIR/conf/override_spops.ini: CW> [user.datasource] CW> action = add CW> value = UserDatasource CW> $WEBSITE_DIR/conf/server.ini: CW> [db_info UserDatasource] CW> db_owner = CW> username = user CW> password = password CW> dsn = dbname=userdb CW> db_name = CW> driver_name = Pg CW> sql_install = CW> long_read_len = 65536 CW> long_trunc_ok = 0 Ok! I'll describe my databases in conf/override_spops.ini & conf/server.ini as: [db_info db1] ... [db_info db2] ... But how it is necessary to configure package, that this databases is used? And how it is possible to use two different bases in package? Whether I (and whether it will be correct) can use designs of a kind "db1.table1" in struct/table1.sql for example? Sorry for my bad english :-( -- Nikollos |