good chemistry is complicated,
and a little bit messy -LW
Activestate 5.8 + DBD-mysql a no-go?by Phaysis (Pilgrim)
|on Jan 07, 2003 at 15:14 UTC
Phaysis has asked for the wisdom of the Perl Monks concerning the following question:
I have a major issue I've not been able to resolve yet; was wondering if anyone else has come across this problem and has found a solution. I upgraded my Activestate 5.00x installation last night to 5.8. I began running different scripts to determine how much the new upgrade has broken things. Much to my displeasure, things where broken indeed.
Most of my dependancy problems were solved by installing missing modules from the Activestate ppm archives. However, there's one that can't be resolved: my major problem is that DBD::mysql no longer exists for Activestate, at least not this version. I need that module.
What AS has offered as a replacement is DBD::mysqlPP, a "pure perl" version of the mysql driver. Might be fine and all but apparently socket/pipe support (which is used by the mysqlPP driver) is not properly configured out of the box. So, I copied the DBD/mysql.pm module from my AS 5.00x backup into the new directory, and DBI does not see the module in its driver list. I plan to do more investigation this evening, but I do not see a decent solution.
If I can't get this resolved, I'll have to get the socket/pipe support needed by DBD-mysqlPP working and will have to update (!!) all of my scripts which have previously used the DBD::mysql driver to use the DBD::mysqlPP driver. So much for cross-platform development.
Is something wrong with this picture, or am I looking at the picture wrong? I use Activestate on Win98se as a testbed for my linux webserver projects. If I can't get my scripts to work cross-platform, there's little sense in using this testbed for more rapid development. I'm now considering going back to AS 5.00x just to keep myself sane.
Does any of this make sense?
-Shawn / (Ph) Phaysis