Forum Discussion
Query Microsoft Fabrics Warehouse using PHP / Doctrine DBAL
- 1 year ago
Hey again.
After several weeks of discussion with Microsoft, it appear that this is because Warehouse doesn't support Multiple Active Result Sets (MARS). Setting MultipleActiveResultSets=0 in option resolve the problem.
so, the final method for me was :
$connectionParams = ['dbname' => 'my_DBname','password' => 'mypassword','host' => 'xxxxxxxxxxxxxx.datawarehouse.fabric.microsoft.com','driver' => 'pdo_sqlsrv','port' => 1433,'driverOptions' => ['Authentication' => 'ActiveDirectoryPassword','MultipleActiveResultSets' => 0,'Encrypt' => 1,'TrustServerCertificate' => true]];$this->conn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams);
Hi yulione,
Thank you for reaching out to the Microsoft Forum Community.
Sorry for the inconvenience caused. As suggested by lbendlin, please raise a support ticket. To create a support ticket for Fabric and Power BI, refer to the steps outlined in the following guide:
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
Thank you.
Thank you all for your time and support.
As suggested I will open a ticket.
If possible I will try to post solution in this topic.