This error occurs when attempting to connect in an unsupported manner with Docker.
Typically this is the use of localhost or loopback addresses which aren't supported due to the containerization and the IP address or FGDNs instead need to be supplied.
Additionally if the first server instance is not defined in the CLI, it's assumed that it is local. This would normally be syntactically valid as the missing parameter is being implicitly passed anyway.
E.g.
sqlcompare /server2:Widget_Server\SQL2016 /db1:WidgetStaging /db2:WidgetProduction
However in a Docker environment, this will fail because the implicit value (localhost) is unsupported.
Please see the requirements for using the CLI with Docker, especially the requirement to escape \ characters.
1
-1
Was this article helpful?
0 out of 1 found this helpful
Articles in this section
- The operation could not be performed because OLE DB provider ... for linked server ... was unable to begin a distributed transaction (SQL Compare)
- Docker Cannot connect to SQL Server Browser
- How to create a filter for command line comparisons
- SQL Compare Error: The Login is from an Untrusted Domain
- Error: Exiting since no license was found
- "No text is available" in SQL view
- Performance issues with SQL Data Compare
- Why comparison behaviour is different between the GUI and command line?
- Server Aliases not working when connecting with SQL Compare/SQL Data Compare