PDA

View Full Version : Perl/MySQL - MySQL.pm and DBI.pm


Justin
01-21-2000, 04:11 PM
Hello,

MySQL.pm is obsolete in favor of the more portable DBD::DBI libraries, which are in the core.

Hope this helps.

------------------
Justin Nelson
FutureQuest Support

JohnTwo
01-21-2000, 06:46 PM
I realise that mySQL.pm has been superceded by DBI.pm but was wondering if FQ supported both as it might be useful if migrating legacy systems built around MySQL.pm until such time as they can be rewritten to DBI.pm.

Justin
01-21-2000, 09:14 PM
I appologize for being unclear - no, MySQL.pm is not installed... The majority of Perl/MySQL scripts that have been made available in the last year or more are utilizing the DBD/DBI libraries...

Hope this helps.

------------------
Justin Nelson
FutureQuest Support

JohnTwo
01-22-2000, 01:01 AM
Does FQ support both MySQL.pm and DBI.pm for accessing MySQL via perl scripts?

JohnTwo
01-22-2000, 04:08 AM
Thanks for the clarification. Would you consider installing MySQL.pm if requested?

Terra
01-22-2000, 06:02 AM
I tried to install both but ended up with module clashes/problems...[nbsp][nbsp]The other problem was the 'make test' would fail after building...

As the MySQL.pm is officially deprecated in favor of the DBI::DBD libraries, I see no point in maintaining legacy modules within the core...

You can however build this module locally within your domain, if you must really have it...[nbsp][nbsp]There are numerous tutorials across the net that describe this procedure...
www.perl.com (http://www.perl.com)

--
Terra
--Some 'perl Makefile.PL' it, some do not--
FutureQuest

JohnTwo
01-22-2000, 10:51 AM
OK - thanks for the clarification, maybe the local install is the answer.

Incidentally I have been with a couple of hosting services which have both modules installed without problem.