Problems connecting to MS SQL Server in linux

Hi,

I’m connecting to a SQL Server database on a Ubuntu linux Yii2 application. When using freetds (dblib) driver, some cases seems that previous call to a store procedure is aborted when a new call is done.

Now I’m trying to use official Microsoft odbc driver. Some operations within give the following error messsage:

Connection does not support reading schema information for ‘odbc’

Has any one found the right way to connect to a SQL Server database from Linux?

Regards