Hi
I am currently configuring an External Database Authentication to a Microsoft SQL Server. I have configured the necessary fields in the external database settings. When I afterwards test the connection I get the following error:
errors: Array ( [0] => Array ( [0] => 08001 [SQLSTATE] => 08001 [1] => 10054 [code] => 10054 [2] => [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x2746 [message] => [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x2746 ) [1] => Array ( [0] => 08001 [SQLSTATE] => 08001 [1] => 10054 [code] => 10054 [2] => [Microsoft][ODBC Driver 17 for SQL Server]Client unable to establish connection [message]
I have checked the name of the view, username and password and I can telnet form our Moodle server to the Microsoft SQL server on port 1433 TCP so firewall should also be okay.
I have checked the Error code 0x2746 and it seems that the problem could be the TLS version on the SQL server. This is an old Microsoft 2003 server with SQL 2005 SP2 server so it does not support TLS 1.2.
I have configured External Database Authentication on several servers and this is the first time it fails.
Our Moodle server is installed on Debian 10 and the Moodle version is 3.10+
Is this an error you have seen before? Is there any other solution than moving the database to a newer Microsoft server and SQL version?
Best Regards
Steen Pedersen