Closed Thread Icon

Topic awaiting preservation: Is there anyway to access a database in perl without using the DBI? Pages that link to <a href="https://ozoneasylum.com/backlink?for=12714" title="Pages that link to Topic awaiting preservation: Is there anyway to access a database in perl without using the DBI?" rel="nofollow" >Topic awaiting preservation: Is there anyway to access a database in perl without using the DBI?\

 
Author Thread
Maskkkk
Paranoid (IV) Inmate

From: Willaimsport, PA, US of A the hole in the Ozone
Insane since: Mar 2002

posted posted 05-06-2003 02:17

Is there anyway to access a database in perl without using the DBI?
(kind of a strange question I'll admit...it's for a friend who said they won't install the perl libs for the DBI on the server)



- Face the Present
- AIM: MASKKKK

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 05-06-2003 02:25

You should be able to create a raw socket connection and use that. That being said however I'm not sure the exact process. I've never had to do it and I'm sure its going to depend on the database.



.:[ Never resist a perfect moment ]:.

Piper
Paranoid (IV) Inmate

From: California
Insane since: Jun 2000

posted posted 05-06-2003 02:43

Hi Maskkkk,

Other than what bitdamaged proposed, I can't think of any other way. If your friend has shell access, he/she can install the modules in a private lib. These links will help:

http://www.cpan.org/misc/cpan-faq.html#How_install_private
http://www.cpan.org/modules/INSTALL.html

He'll need the Bundle: BD::mysql modules as well as the DBI module.

There is also a Pure Perl module that doesn't need to be compiled: http://search.cpan.org/author/TIMB/DBI-1.35/lib/DBI/PurePerl.pm . I haven't worked with it at all so I'm not sure of dependencies or speed but it's sure to be slower.

Regards,
Charlie



[This message has been edited by Piper (edited 05-06-2003).]

Maskkkk
Paranoid (IV) Inmate

From: Willaimsport, PA, US of A the hole in the Ozone
Insane since: Mar 2002

posted posted 05-13-2003 18:58

Thanks for the help, but now that I have the help for the guy I can't seem to find him. Besides last time I saw him he told me he already had it figured out.



- Face the Present
- AIM: MASKKKK

01001101011000010111001101101011011010110110101101101011

« BackwardsOnwards »

Show Forum Drop Down Menu