Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to connect SQL SERVER DATABASE In PERL ?

Status
Not open for further replies.

TTMTech

Programmer
Feb 5, 2003
29
US
Hi

We have new sql server "TTMSQL" and we create new database on it. How can i connect it through perl script(eg. Index.pl) on web? Do I need to configure any cgi file or web server ? What are the steps should I follow ? Anyone can help me ?

Thanks

TTM
 
Guessing that TTMSQL is a Microsoft Sequel Server, you will need to install the perl DBI module on your webserver host. If your webserver host is a windows box, also install DBD::ODBC. If it's a linux box you need DBD::Sybase and something like FreeTDS or an ODBC driver framework for your platform.

You don't generally need to configure the web server itself - if it can run CGI scripts then that is enough but, YES - you do need to write CGI scripts to access your database.

Good Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top