LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 09: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:45 PM
Migrating from MS-SQL server to My-SQL emailssent Linux - Networking 2 02-07-2005 03:20 PM
Which SQL is suitable for EMbedded SQL on C? hk_michael Programming 4 01-10-2005 06:07 PM
sql on linux juanb Linux - Software 1 08-10-2004 10:23 PM
connecting from Linux to MS SQL using perl DBI->connect Aniket Linux - Software 0 08-08-2002 06:42 PM


All times are GMT -5. The time now is 09:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration