From: Frederik E. <fre...@a5...> - 2005-06-29 21:28:50
|
The driver-specific HSQL documentation which I have doesn't say what syntax should be used for "Server name" in MySQL (I assume this can point to a unix domain socket or specify a hostname with port..?) or for "Connection string" or "Data source name" in ODBC. Does anyone know what the syntax for these strings is? Thanks, Frederik Database.HSQL.MySQL Description Synopsis connect :: String -> String -> String -> String -> IO Connection module Database.HSQL Documentation connect :: String Server name -> String Database name -> String User identifier -> String Authentication string (password) -> IO Connection Makes a new connection to the database server. --- Database.HSQL.ODBC Description Synopsis connect :: String -> String -> String -> IO Connection driverConnect :: String -> IO Connection module Database.HSQL Documentation connect :: String Data source name -> String User identifier -> String Authentication string (password) -> IO Connection the returned value represents the new connection Makes a new connection to the ODBC data source driverConnect :: String Connection string -> IO Connection the returned value represents the new connection driverConnect is an alternative to connect. It supports data sources that require more connection information than the three arguments in connect and data sources that are not defined in the system information. -- http://ofb.net/~frederik/ |