Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

giupes's avatar

SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server] TCP Provider: No connection could be made because that target machine actively refused it

I've migrate my sql db from MMSQLServer 2019 to MMSQLServer 2022 and then when i try to connect to db i receive this error: SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server] TCP Provider: No connection could be made because that target machine actively refused it. I've try to update ODBC Drivers and i've try ho change php_pdo extensions, but nothing. I think that the problem it's that MMSQLServer 2022 require encryption parameter to optional i've try to comment my encrtypt parameter but nothing, i don't want to belive that this little parameter generate this big problem. I use xampp. Someone can help me ?

0 likes
0 replies

Please or to participate in this conversation.