•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MS SQL section within the Web Development category of DaniWeb, a massive community of 375,245 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,192 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS SQL advertiser:
Views: 1663 | Replies: 0
![]() |
•
•
Join Date: Jun 2006
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi friends,
As title refers, my problem is related with connection to the sql server. I use MSSQL Express 2005. My program, that is written in php, tries to connect to the server but the connection is failure.I didn't create an account from login under root and my connection type is Windows authentication.I tried to login with various combinations like below:
[php]
//1
mssql_connect("localhost","blackhawk","111");
//2
mssql_connect("SQLEXPRESS","blackhawk","111");
//3
mssql_connect("127.0.0.1","blackhawk","111");
//4
mssql_connect("SQLEXPRESS","sa","sa");
//5
mssql_connect("localhost","root","111");
[/php]
But the connection is not realized. Is there anyone to help me about this?
Server name :BLACKHAWK/SQLEXPRESS
Connection :BLACKHAWK/Blackhawk
As title refers, my problem is related with connection to the sql server. I use MSSQL Express 2005. My program, that is written in php, tries to connect to the server but the connection is failure.I didn't create an account from login under root and my connection type is Windows authentication.I tried to login with various combinations like below:
[php]
//1
mssql_connect("localhost","blackhawk","111");
//2
mssql_connect("SQLEXPRESS","blackhawk","111");
//3
mssql_connect("127.0.0.1","blackhawk","111");
//4
mssql_connect("SQLEXPRESS","sa","sa");
//5
mssql_connect("localhost","root","111");
[/php]
But the connection is not realized. Is there anyone to help me about this?
Server name :BLACKHAWK/SQLEXPRESS
Connection :BLACKHAWK/Blackhawk
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MS SQL Marketplace
•
•
•
•
ad adsl adsl1 adsl2 adsl2+ advertising ajax asp backup beta business cable centro connection crash daniweb database dell development doubleclick download google hacker internet kb kbps linux longhorn mbit microsoft msdn network news novell per qmail red hat second security server software sql survey suse testing throughput upload windows windows server 240000
- how to build localhost server using PHP, Apache, MS SQL server 2000 (PHP)
- mssql server doesn't open port 1433 but open other ports that communicate with the DN (MS SQL)
- ASP to MsSQL (ASP)
- server connection using VB (IT Technologies and Trends)
- Remote Database server error. (C#)
- server connection (Community Introductions)
- SQL server error: 18452 - connection to SQL error (Windows NT / 2000 / XP / 2003)
Other Threads in the MS SQL Forum
- Previous Thread: Database Limit
- Next Thread: Dts


Linear Mode