Guys, I'm very new to ODBC, so please bear with, okay?

I'm looking at example code in a particular windows binding package, and
see the following:

...
 --  Open Database
   Open (DB_Control.Database,
         "Provider=Microsoft.Jet.OLEDB.4.0; " &
         "Data Source=..\..\tutorials\adotest.mdb");
...

That statement succeeds in opening that mdb (Access) file for further
manipulation. I have no idea where they came up with the information
that the way you connect with an access database is to use the
incantation "Microsoft.Jet.OLEDB.4.0". Likewise, I have no idea what
comparable magic string would specify a mysql database.

1) What string would I substitute into that code sample to connect with
a mysql database instead of an access database?

2) What document should I have been looking at to discover that for
myself?

Thanks! --D Nyberg

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to