Richard H. McCullough wrote: > I read UTR 1 -- it only describes the *Windows* implementation, with > the user manually storing *hostname* in some internal Windows location.
I use Unicon databases under Linux. Because the DB access is ODBC-based, you have to identify the host using ODBC conventions. These are essentially the same as with Windows (as I understand it, I rarely use Windows). You need a ~/.odbc.ini file that describes how to access the database, including the host. Here's a snippet from mine: [solis_logs] Driver = /usr/lib/psqlodbc.so Description = Solis_Logs Database = lab.devel.logdb ServerName = haberdasher Servername = haberdasher Server = haberdasher Host = haberdasher Port = BLANKED_OUT DSN = solis Username = BLANKED_OUT User = BLANKED_OUT Password = BLANKED_OUT ReadOnly = no ServerType = postgres FetchBufferSize = 99 Trace = 0 TraceFile = /tmp/odbc.trace Debug = 0 DebugFile = /tmp/odbc.debug CommLog = 0 The Unicon code accesses the DB through the DSN (Data Store Name), ODBC uses that name to locate the appropriate entry in ~/.odbc.ini to locate host, port, etc. -- Steve Wampler -- [email protected] The gods that smiled on your birth are now laughing out loud. ------------------------------------------------------------------------------ _______________________________________________ Unicon-group mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unicon-group
