I am trying to connect to a remote MS SQL Server. But right now I get the followin error
- Code: Select all
mssql_connect() [function.mssql-connect]: message: Login failed for user 'x'. (severity 14) in c:\xxx.php
According to what I read on http://us.php.net/function.mssql-connect
I have to do the following to connect to MS SQL because MS SQL wants the webserver username and password when connecting to a trusted server:
- Code: Select all
- Open Control Panels
- Double click administrative tools
- Double click services
- Right click on Apache and choose properties
- Under the "Log On" tab choose "This Account" and type in a valid domain user account & password
- Restart the Apache service
But I cannot find "Apache" under services!! Is it called something else when installed with XAMP?
Many thanks in advance for your help