From: Krasimir A. <ka2...@ya...> - 2005-06-30 11:06:31
|
You should read the driver documentation for this kind of questions (e.g. MySQL and ODBC documentations). In particular cases the MySQL server name is the DNS name (or localhost). For "Connection string" or "Data source name" you should read the ODBC documentation where it is described how to create new data sources. Cheers, Krasimir --- Frederik Eaton <fre...@a5...> wrote: > 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/ > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > htoolkit-users mailing list > hto...@li... > https://lists.sourceforge.net/lists/listinfo/htoolkit-users > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com |