that part of runnig the script and connecting comes later.. first i am trying to make the DSN and test it..in that its giving me error
IM002 ..just now i cleared all the installations thats why cant give u the exeact error code. .



Prabhat Tyagi , Gurgaon wrote:


Your datasource should be correct when you connect to the database
You can also check the driver installed and datasource name using
available_drivers() and data_sources() functions.

Use something like

use DBI;
$dbh=DBI->connect('DBI:MySql:<Database Name>', '<User Name>', '<Password>');

Cheers
Prabhat

-----Original Message-----
From: bsf [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 4:20 PM
To: The Linux-Delhi mailing list
Subject: [ilugd] connect to MSSQL


hi all,


i want to know how to go about to connect to MSSQL from linux using perl/CGI.
i read DBI::ODBC.. for that installed iODBC also .got the driver for MSSQL from openlink..but some how and still no way near to connection.


bsf





_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd





_______________________________________________ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to