I have created a data cube for AdventureWorks in the microsoft analysis server. But I cannot connect to the cube I created. I could not find an example where this connection was made before .How should I set the settings and setup function?
My settings function
public function settings()
{
return array(
"dataSources"=>array(
"sqlserver"=>array(
"connectionString" => "sqlsrv:Server=tcp:127.0.0.1;Database=AdventureWorks",
"username" => "sa",
"password" => "---"
),
)
);
My setup function
public function setup()
{
$this->src('sqlserver')
}