471,336 Members | 1,267 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

Need Help Connecting to MSSQL

Hi.

I am experiencing problems connecting to MSSQL.
I'm not sure where to begin looking for the problem.
I don't know if the problem is originating with PHP or MSSQL

What should the host name be? When I mouse over MSSQL manager it says
"\\S-CIS-0042"

$db_host='local'; //IP/host of the database server
$db_login='sa'; //database login name
$db_password='******'; //database password
$db_name='Cheetah'; //database name on the server

Jul 17 '05 #1
2 1571
$localhost

Jul 17 '05 #2
bi*******@gmail.com wrote:
Hi.

I am experiencing problems connecting to MSSQL.
I'm not sure where to begin looking for the problem.
I don't know if the problem is originating with PHP or MSSQL

What should the host name be? When I mouse over MSSQL manager it says
"\\S-CIS-0042"

$db_host='local'; //IP/host of the database server
$db_login='sa'; //database login name
$db_password='******'; //database password
$db_name='Cheetah'; //database name on the server


Hi,

$db_host='localhost'; If the database is on localy on "your" computer

or

$db_host='192.168.x.x'; (valid address) If the database is on a remote
computer
Greetings, Urs
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by John Fabiani | last post: by
9 posts views Thread by Advo | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.