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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

database connection-urgent..

Status
Not open for further replies.

parames

MIS
Jun 26, 2000
71
MY
hi list , need help..

I'm using MS-SQL database and it is in different server. My perl pages (*.pl) resides in another server. How to connect to this database using IP address,database name, userid, password of the database server. Please help, i'm really going crazy with this..

Thanks a lot.
Parames.s
 
What operating system are you running Perl on? Does Perl on this platform support ODBC? Robert Bradley
teaser.jpg

 
Dear foxdev,
I'm using windows NT and yeap, it support ODBC. Please Help..

Thanks,
Regards,
Parames.s
 
Remember, I know nothing about Perl and its ODBC capabilities, so I'll be general:

You can create a User ODBC DSN (Windows/Control Panel/ODBC32); when creating the DSN you can specify the server by server name or IP address. You can also specify the username, password, and so forth.

If you are intending to connect via TCP/IP, make sure that your SQL Server client is configured to use TCP/IP protocol, not the default Named Pipes. Robert Bradley
teaser.jpg

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top