PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 5th, 2000, 03:27 AM
Jebanesan Croos Jebanesan Croos is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 3 Jebanesan Croos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have installed sybase ase on Linux and it is working fine. I have a database on sybase ans I am using PHP3 for accessing the database from the browser.
Now I would like to connect the MS-SQLSERVER which is on a NT server in the same network. How to set up the interface file to run both the databases. Please help me.
( Linux - RedHat 6.1 - Apache - Sybase ase installed)

Reply With Quote
  #2  
Old May 5th, 2000, 11:46 PM
esconsult esconsult is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 43 esconsult User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
1. Well, be sure that you can ping the SQL server from your Linux box.

2. The Port for SQL Server is 1433 (unless yours is different)

3. Make sure thatTCP/IP connections are enabled on your SQL server, by
default it is set to Named Pipes.

This is my interfaces file:

------------------------------------
nt
master tcp ether 192.168.0.5 1433
query tcp ether 192.168.0.5 1433
----------------------------------------

192.168.0.5 is my SQL server.

------------------
PHP, Perl, SQL Programming at http://www.mentalobjects.com

Reply With Quote
  #3  
Old May 6th, 2000, 02:06 AM
Jebanesan Croos Jebanesan Croos is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 3 Jebanesan Croos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks !.

It is working fine as per your reply.

Now I am able to connect both MS_SQL server and Sybase server from my PHP script running at Linux-Apache.



Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Connecting MS-SQLSERVER from SYBASE at LINUX

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap