LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2004, 08:35 AM   #1
hrc
Member
 
Registered: Jun 2003
Location: Ohio
Posts: 54

Rep: Reputation: 15
freetds-perl-linux-m$sql


I am running a x86 RHL9 box and want to connect to a MS SQL server via a perl script. I think that I successfully installed freetds and DBD::Sybase. I think that I am able to connect to the server via a tsql statement.

****************************
[root@npsdev bin]# tsql -S ntlkp328.mycompany.net -U jsmith -P angst123
locale is "en_US.UTF-8"
charset is "UTF-8"
1>
****************************

I have read thru the FreeTDS readme as well as the DBD::Sybase documentation and still can't get where I want to go.

Several questions.

1) With the above info, does it look like I have successfully established a connection from my RHL9 box to the M$ sql server?

2) Does anyone have a test perl script that they have, that I can use to run a sample query? (maybe something like a "show tables"??)

I have searched on several message boards and they all lead me back to the vendor/package web pages.

Advice? - (Chris- Acid?)
Thanks a million,
Mark
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeTDS Install Problem wizhuff Linux - Software 1 07-27-2005 12:45 PM
Migrating from MS-SQL server to My-SQL emailssent Linux - Networking 2 02-07-2005 02:20 PM
Which SQL is suitable for EMbedded SQL on C? hk_michael Programming 4 01-10-2005 05:07 PM
sql on linux juanb Linux - Software 1 08-10-2004 09:23 PM
connecting from Linux to MS SQL using perl DBI->connect Aniket Linux - Software 0 08-08-2002 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration