Created
August 19, 2010 11:49
-
-
Save kidsil/537681 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ever wondered how the hell you connect Doctrine to MS SQL? | |
simply through this: | |
$manager = Doctrine_Manager::getInstance(); | |
$manager->openConnection('dblib://'.$db['user'].':'.$db['password'].'@'.$db['host'].'/'.$db['database']); | |
This should do it! | |
make sure you have pdo_dblib and all those things | |
it took me something like 7-8 hours to get through this so I hope you spread the word! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment