Web Hosting Talk







View Full Version : DBI and DBD modules for mysql


hypnus
11-07-2001, 06:29 PM
This question is addressed particularly to hosts. Do you find that scripts accessing mysql databases through perl a security risk? I am getting annoyed since I am finding that there are many hosts that I've signed up for that don't have the proper DBI, DBD::mysql modules installed.

Is there a reason why they don't have these modules installed? When I look for a host, included in their plans are scripting languages such as Perl, Python, PHP, and then there's Mysql.. I understand that a lot of people use PHP with mysql, however I prefer to work with perl and would rather not rewrite my perl scripts that I have already written. I really expected that by default that there would be perl support for mysql, but apparently this hasn't been the case for many hosts. Anyone know the reason??

jw
11-07-2001, 06:34 PM
Originally posted by hypnus
Do you find that scripts accessing mysql databases through perl a security risk?

No.


Is there a reason why they don't have these modules installed?
The DBI and DBD modules are not installed by default with perl, so newer hosts will probably not have these modules installed, but most hosts will add this for you if you ask.

hypnus
11-07-2001, 06:56 PM
even hosts that have been around for many years still don't have these modules installed... arrrg....

bitserve
11-08-2001, 08:41 PM
We not only have it installed, but we upgraded Perl DBI when a new version came out.

To me, it does seem odd to only offer PHP with mysql support, and not PERL.