Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Invalid
-
Affects Version/s: 2.0.0-BETA4
-
Fix Version/s: None
-
Component/s: Drivers
-
Labels:None
-
Environment:Windows, Sql Server 2008, Sql server drivers for PHP v2
Description
When construstring DSN in Doctrine\DBAL\Driver\PDOSqlsrv\Driver it should add selection of database in DSN.
So for example DSN will look like:
$dsn ="sqlsrv:Server=(local) ; Database = AdventureWorks ";
As writen in chm manual which come with Sql server drivers for PHP v2
I changed this Issue to Bug and give it priority of blocker, since with final relase of Sql Server Driver 2 for PHP it's not working correctly.
Solution can be found on my blog: http://bostjan.muha.cc/2010/08/doctrine-2-mssql/