Tuesday, August 30, 2022

[SOLVED] PDOException: SQLSTATE[HYT00]: [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired on Centos 7

Issue

alt="PDOException-SQLSTATEHYT00" />

I am facing the problem with PDOException even I installed pdo_sqlsrv PHP extension for php 7.3 on Centos 7. I think the problem is due to different driver version I am using and the one on the Microsoft SQL database server. Can someone tell how to solve the problem?


Solution

It happened by firewall that was blocking the server and there were nothing problem in odbc and other php modules installation to connect Microsoft SQL server. Anyway, thanks @Luma.



Answered By - Niz
Answer Checked By - Cary Denson (WPSolving Admin)