[nycphp-talk] MSSQL2008 Express and XAMPP
David Krings
ramons at gmx.net
Mon Feb 15 14:06:41 EST 2010
On 2/15/2010 12:36 PM, CED wrote:
> Has anyone ever configured this?
>
> I have followed several online suggestions and still no luck, a fail
> authentication error is all i receive from this:
>
> CODE:
> <?php
> echo 'trying to connect' ;
> $server = 'SERVERNAME\INSTANCE';
> $link = mssql_connect($server, 'username', 'password');
> if (!$link) {
> die('Something went wrong while connecting to MSSQL');
> }
> ?>
Do you have TCP/IP enabled? That is turned off by default in MSSQL. Why?
Because everyone needs it....
David
More information about the talk
mailing list