Example Connection String to MySQL via ODBC?

Hi. I'm trying to connect for the first time to a 5.1 MySQL database
with HDBC via the ODBC driver. Would someone be kind enough to show me
an example connect string to pass to connectODBC? I've tried to put
together what I can from the "example" at Hackage and old posts I found
on the Web, but all I ever get is
*** Exception: <

On 05/13/2011 09:04 PM, Christopher Howard wrote:
Hi. I'm trying to connect for the first time to a 5.1 MySQL database with HDBC via the ODBC driver. Would someone be kind enough to show me an example connect string to pass to connectODBC? I've tried to put together what I can from the "example" at Hackage and old posts I found on the Web, but all I ever get is
*** Exception: <
> If someone could give me a boilerplate example with the standard elements (host, database, user, password) that would probably help. Thank you.
Heh, heh... oops... I see now I don't have the ODBC MySQL driver installed on my system. That's probably important. -- frigidcode.com theologia.indicium.us
participants (1)
-
Christopher Howard