Re: Sqlserver requires a database connection

2012-01-27 Thread zal1en
Works like a charm for mssql fetching data :) Howver your readme has to be updated a little bit: class DATABASE_CONFIG { public $gramdb = array( 'datasource' => 'Datasources.Database/Mssql', ^^ and also you have to put CakePlugin::load('Datasources'); in bootstrap.php

Re: Sqlserver requires a database connection

2012-01-27 Thread zal1en
Works like a charm for mssql :) (at least for fetching data - which is my case) However you readme has to be changed a bit: class DATABASE_CONFIG { public $mydb = array( 'datasource' => 'Datasources.Database/Mssql', ^^ ); } and also you have to add CakePlugin::load('Da

Sqlserver requires a database connection

2012-01-24 Thread zal1en
Hi, I'm trying to access a second MS SQL database with cakephp 2.0.5 on Linux. I have setup an Sqlserver datasource in Config/database.php public $msdb = array( 'datasource' => 'Database/Sqlserver', 'persistent' => false, 'host' => 'xxx.xxx.xxx.xxx', 'port' => '1433',