Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4731

SQL Server connection not working

$
0
0

I am trying to connect Azure SQL server using HAProxy with below configuration.
listen test
bind *:1433
mode tcp
option tcplog
timeout connect 10s
timeout client 20m
timeout server 20m
maxconn 10000
server testdb **.database.windows.net:1433

But I am getting below error while connecting
Cannot open server ******** requested by the login. The login failed. (40532) (SQLDriverConnect)')

Also, we tried with the below configuration.

frontend tcp-in-mssql
bind *:1433
mode tcp
option tcplog
timeout connect 10s
timeout client 20m
timeout server 20m
maxconn 10000

backend mssql
mode tcp
server mssqlserver **.database.windows.net:1433 check

Getting below error:
Exception: OperationalError: (‘08001’, '[08001] [Microsoft][ODBC Driver 17 for SQL Server]Client unable to establish connection because an error was encountered during handshakes before login. Common causes include client attempting to connect to an unsupported version of SQL Server, server too busy to accept new connections or a resource limitation (memory or maximum allowed connections) on the server.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4731

Trending Articles