sqlsrv-driver in CI 2.1.0 |
[eluser]Unknown[/eluser]
@Narf, you're a super-hero! Replacing the existing db_pconnect function in system/database/drivers/sqlsrv/sqlsrv_driver.php did the trick perfectly. In case anyone else needs it, the function should now read: Code: function db_pconnect() { and db config in application/config/database.php should read something like : Code: $db['default']['hostname'] = 'server\instancename'; I'm using SQL Server 2012 and IIS, and I need my site to work for a long time into the future, so using the sqlsrv driver from Microsoft was the only option. |
Welcome Guest, Not a member yet? Register Sign In |