MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #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: 6
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: 212 PunkGo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 18 m 34 sec
Reputation Power: 5
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
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,223 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 32 m 57 sec
Reputation Power: 174
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?
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever.
Analyze twice; hack once.
The world's first existential ITIL question: If a change is released into production without a ticket to track it,
was it actually released?


About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect -
Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire


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: 7
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
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,223 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 32 m 57 sec
Reputation Power: 174
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: 6
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


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway