Add SQL Server 2005 datasource - Error: Login error: read tcp 10.X.X.X:45248->10.X.X.X:1433: read: connection reset by peer

I’m trying to add a SQL Server 2005 datasource in Grafana v5.2.4. When I click on “Save & Test”: Error: Login error: read tcp 10.X.X.X:45248->10.X.X.X:1433: read: connection reset by peer.

The SQL user and password are correct and there’s no firewall between the servers.

Using sqlcmd in a Windows machine, the connection to SQL Server is OK.

Windows Environment:

  • Windows 2003 R2 Enterprise X64 SP2
  • SQL Server 2005 SP2