User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Jun 2006
Posts: 1
Reputation: black_hawk is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
black_hawk black_hawk is offline Offline
Newbie Poster

About Mssql Server connection

  #1  
Jun 30th, 2006
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
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb MS SQL Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the MS SQL Forum

All times are GMT -4. The time now is 4:45 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC