By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,258 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,258 IT Pros & Developers. It's quick & easy.

Need Help Connecting to MSSQL

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
$localhost

Jul 17 '05 #2

P: n/a
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.