CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: DBI:
DBI/DBD for unix

 



skdave
New User

Jun 20, 2004, 9:04 AM

Post #1 of 2 (2584 views)
DBI/DBD for unix Can't Post

Hi,

I am new to PERL DBI/DBD programming and want to learn that. I want to login to Sybase,Oracle,MS Sqlserver, UDB, DB2 databases from Unix AIX box. PERL 5 software is installed by UNIX admin on our unix box but DBI/DBD modules are not installed. Can anybody help me to find out while modules / software do I need to request unix admin to install on unix box and fromwhere he can download that. Also if you can provide me idea to login to MSSQLServer 2000 from unix box using PERL DBI/DBD , I will appreciate that.

Thanks,

SD.


davorg
Thaumaturge / Moderator

Jun 21, 2004, 1:24 AM

Post #2 of 2 (2582 views)
Re: [skdave] DBI/DBD for unix [In reply to] Can't Post


In Reply To
I want to login to Sybase,Oracle,MS Sqlserver, UDB, DB2 databases from Unix AIX box. PERL 5 software is installed by UNIX admin on our unix box but DBI/DBD modules are not installed. Can anybody help me to find out while modules / software do I need to request unix admin to install on unix box and fromwhere he can download that.


You need the DBI module together with whatever DBD module is required for the database that you want to connect to (for Sybase you'll need DBD::Sybase, Oracle you'll need DBD::Oracle, etc). You'll also need the client libraries for your chosen databases installed locally on your system. For example, for Sybase you'll need CT-Lib (or FreeTDS) installed.


In Reply To
Also if you can provide me idea to login to MSSQLServer 2000 from unix box using PERL DBI/DBD , I will appreciate that.


I think you'll find that you can use DBD::Sybase to connect to MS SQL Server.



Thanks,

SD.


--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives