php - Laravel connect to Azure SQL Data warehouse using PDO -
i using laravel 5 , want connect azure data warehouse using implemented pdo database connection laravel provides. using following connection settings.
db_connection=sqlsrv db_host=tcp:srv.url.com,1433 db_database=db-name db_username=user db_password=pass
when load page "could not find driver" error.
how possible? drivers build laravel rigth?
thanks in advance!
you need install pdo driver sqlsrv manually, configure in php pdo_sqlsrv extension enabled adding appropriate dll file php_pdo_sqlsrv_53_nts.dll
, , compatible php running on windows. can refer http://php.net/manual/en/ref.pdo-sqlsrv.php more info.
to connect sql server in php in unix, can use odbc extension , microsoft's sql server odbc driver linux.
Comments
Post a Comment