List:MySQL ODBC« Previous MessageNext Message »
From:Michael Widenius Date:August 26 1999 5:40am
Subject:Q: Create a DSN under WinNT (manual/Perl)
View as plain text  
>>>>> "Ron" == Ron Savage <rons@stripped> writes:

Ron> I have installed & tested MySQL V 3.21.29 under WinNT SP4. I'm using
Ron> ActivePerl build 519.

Ron> The big_record.pl demo uses this line:
Ron> $dbh =
BI-> connect("DBI:mysql:$test_db:$host",$opt_user,$opt_password,{ PrintError
Ron> => 0}) || die "Can't connect: $DBI::errstr\n";
Ron> at around line 20 to connect.

Ron> I would like to use ODBC, so I can switch to PostgreSQL. But I don't know
Ron> how to create the DSN. When I hit System DSN/Add... I get a window whose
Ron> title is 'Create New Data Source', but MySQL is not listed as a driver.

Ron> What to do?

Ron> TIA

Ron> Cheers
Ron> Bus: rons@stripped
Ron> Home: ron@stripped
Ron> http://savage.net.au/

Hi!

Have you installed MyODBC ?
You have two options to create a new data source; Global and user:
If MyODBC is installed, you should find MyODBC at one of the above
places. (Sorry, I can't check this just now as I am running Linux on
my laptop...)

Regards,
Monty

PS: Sorry for the late reply, but I just come back from the 
    O'Reilly conference in Monterey.

Thread
Q: Create a DSN under WinNT (manual/Perl)Ron Savage20 Aug
  • Re: Q: Create a DSN under WinNT (manual/Perl)Christian Mack23 Aug
  • Q: Create a DSN under WinNT (manual/Perl)Michael Widenius27 Aug