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

Peter Wajcowicz's avatar

SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x2746

Hi,

Im struggling with this error, when trying to connect to ms sql database from my Macbook pro m2. Database server is configured to not forcing the encryption. I have odbc 17 installed in my system and I'm using Laravel Valet with php 8.2 installed.

On the server side in Event Viewer I have error message that:

An TLS 1.2 connection request was received from a remote client application, but none of the cipher suites supported by the client application are supported by the server. The SSL connection request has failed.

my openssl version is 3.1.3

Any idea?

0 likes
5 replies
Tray2's avatar

@Peter Wajcowicz Great find, I suggest that you mark your own reply as best, then everyone will hopefully see that it is solved and not add lot's of unecessary suggestions (after me giving you this one of course ;) ).

2 likes
omeratayilmaz's avatar

@Tray2 I didn’t realize we could mark our reply as the best until I saw your comment!

1 like
ramonpego's avatar

Now I have the same problem, I had used this solution in the past, but I reset my PC this weekend and tried to install it today and received the message: brew install [email protected] Error: [email protected] has been disabled because it is not supported upstream! It was disabled on 2024-10-24.

Please or to participate in this conversation.