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

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -