MS SQL 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 ForumsDatabasesMS SQL 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 September 14th, 2003, 11:38 AM
Mincer's Avatar
Mincer Mincer is offline
.DOTTY
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: London
Posts: 206 Mincer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 51 sec
Reputation Power: 11
MS SQL connection problems

When connecting to a local SQL Server 2000 installation via php 4.3.3 on a Windows Server 2003 machine I get the following error:

Code:
Warning: mssql_connect(): message: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. (severity 14)


Can anyone enlighten me as to what's wrong?
__________________
Team Phoenix Rising - All Your Distributed Computing Are Belong To Us!

"Whoever fights monsters should see to it that in the process he does not become a monster."
- Friedrich Nietzsche
.

Reply With Quote
  #2  
Old September 14th, 2003, 01:01 PM
PunkGo's Avatar
PunkGo PunkGo is offline
PHP Rocker
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 213 PunkGo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 23 m 2 sec
Reputation Power: 10
Send a message via AIM to PunkGo
search www.mysql.com ??

Reply With Quote
  #3  
Old September 14th, 2003, 01:15 PM
drgroove's Avatar
drgroove drgroove is offline
Moderator Emeritus
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Feb 2002
Location: Scottsdale, AZ
Posts: 7,174 drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Days 23 h 53 m 36 sec
Reputation Power: 2131
Quote:
Originally posted by PunkGo
search www.mysql.com ??


Except, he's using MS SQL, not MySQL.

Is it possible you have the wrong port? Wrong username? Wrong password?
__________________
DrGroove, Devshed Moderator | New to Devshed? Read the User Guide | Need ServiceNow consulting or ITIL process design? Connect with me on LinkedIn

Reply With Quote
  #4  
Old September 14th, 2003, 01:22 PM
Kaleina Kaleina is offline
The Linux-Girl
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 396 Kaleina User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
It's a security level in SQL ..
You need to make sure that Authentication Level is not set just for Windows, make sure it includes SQL Server as well.
__________________
I am an addiction...
Linux-Girl.Com ... or would you rather look at penguins?
web templates
Debian > RedHat*

Reply With Quote
  #5  
Old September 14th, 2003, 01:28 PM
drgroove's Avatar
drgroove drgroove is offline
Moderator Emeritus
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Feb 2002
Location: Scottsdale, AZ
Posts: 7,174 drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Days 23 h 53 m 36 sec
Reputation Power: 2131
Moved to the MS SQL forum from PHP, as the issue lie mainly in an MS SQL configuration, not the method being employed to connect to the DB from PHP.

Good luck finding a solution...

Reply With Quote
  #6  
Old September 14th, 2003, 01:35 PM
Mincer's Avatar
Mincer Mincer is offline
.DOTTY
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: London
Posts: 206 Mincer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 51 sec
Reputation Power: 11
Quote:
Originally posted by PunkGo
search www.mysql.com ??


LOL! Very useful, cheers.

Quote:
Originally posted by Kaleina
It's a security level in SQL ..
You need to make sure that Authentication Level is not set just for Windows, make sure it includes SQL Server as well.


Ah, great. Thanks.

Regards,
Matt.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > MS SQL connection problems

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