[PHP - MSSQL]: Problem with mssql_connect

This is a discussion on [PHP - MSSQL]: Problem with mssql_connect within the PHP General forums, part of the PHP Programming Forums category; Please help!... I have to use 'apache+php' connect to MSSQL Server 2000 in Windows Server 2003, but there are ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-18-2003
Ongart Wongsanupa
 
Posts: n/a
Default [PHP - MSSQL]: Problem with mssql_connect

Please help!...
I have to use 'apache+php' connect to MSSQL Server 2000 in Windows Server
2003, but there are problem.

Computer A: Windows Server 2003 Enterprise, MSSQL Server 2000 Enterprise,

Computer B: Windows XP Professional, Apache, php ( Web Server )

Computer A <------ network -----> Computer B

I try to write php script such this..

mssql_connect('server','sa','xxxx');

but the result is:

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

Please help me find out the problem.. m(_ _)m
and sorry for my english language,

+ + + + + + + + + + + + + + + + + + +
[the thing that I did]...
1. I install client part from MSSQL Server CD Installer into Computer B
already and I'm sure for ntwdblib.dll or php_mssql.dll is newest version
that I can find..
2. I set Authentication in MSSQL Server to be 'SQL Server and Windows'
already
+ + + + [ but the problem still happen ] + +
Reply With Quote
  #2 (permalink)  
Old 09-18-2003
Ongart Wongsanupa
 
Posts: n/a
Default Re: [PHP] [PHP - MSSQL]: Problem with mssql_connect

I did it already,. but that's not help
thank for advice..


"Larry Li" <Larry_Li@contractor.amat.com> wrote in message
news:OF9EFCD7D7.0F5DE3BE-ON48256DA5.002F7F55-48256DA5.002F663B@LocalDomain..
..
> Change MS SQL SERVER Authentication's type to SQL Server and Windows
> instead of windows only.
>
>
>
>
>
>
>
>
> "Ongart Wongsanupa" <meng@mengcafe.com>
> 09/18/2003 04:25 PM
>
> To: php-general@lists.php.net
> cc:
> Subject: [php] [PHP - MSSQL]: Problem with mssql_connect
>
>
>
> Please help!...
> I have to use 'apache+php' connect to MSSQL Server 2000 in Windows Server
> 2003, but there are problem.
>
> Computer A: Windows Server 2003 Enterprise, MSSQL Server 2000 Enterprise,
>
> Computer B: Windows XP Professional, Apache, php ( Web Server )
>
> Computer A <------ network -----> Computer B
>
> I try to write php script such this..
>
> mssql_connect('server','sa','xxxx');
>
> but the result is:
>
> ***message: Login failed for user 'sa'. Reason: Not associated with a
> trusted SQL Server connection. (severity 14) in ...***
>
> Please help me find out the problem.. m(_ _)m
> and sorry for my english language,
>
> + + + + + + + + + + + + + + + + + + +
> [the thing that I did]...
> 1. I install client part from MSSQL Server CD Installer into Computer B
> already and I'm sure for ntwdblib.dll or php_mssql.dll is newest version
> that I can find..
> 2. I set Authentication in MSSQL Server to be 'SQL Server and Windows'
> already
> + + + + [ but the problem still happen ] + +
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0