Hi guys,

I've been struggling with a problem for the past few days and there
seems to be no clear solution on the internet.

I have CakePHP 1.3 installed on an IIS6.0 web server under PHP 5.2.
Everything else works fine (thanks to a tutorial I saw in the Bakery),
however when trying to connect to my database I get the "Cake is NOT
able to connect to the database".

My SQL server is Microsoft SQL Server 2000 and it's running on the
local machine.

PHP 5.2 comes with the MSSQL extension by default and my phpinfo file
shows that it is installed and working.

This is how my current database config looks (password is hidden for
security reasons):

var $default = array(
        'driver' => 'mssql',
        'persistent' => 'false',
        'host' => 'localhost',
        'port' => 1433,
        'login' => 'sa',
        'password' => '-hidden-',
        'database' => 'test',
        'prefix' => ''
        );

All the parameters (database, login, etc) are correct yet Cake just
will not connect to the server.

Would greatly appreciate a solution - as a quick google search will
show you, there are many others that have a similar problem.

Thanks
Rory

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to