I'm running SQL Sever 14.0.1000.169
I can connect to the database with SSMS and via sqlcmd -S dogzilla.
I ran this command to create a new SQL Server, rather than Windows, account:
create login cli with password = '<password>';
When I run this:
sqlcmd -S dogzilla -U cli
and enter the password, I get this error:
Password: Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : SQL Server Network Interfaces: Connection string is not valid . . Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired. Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
I don't understand, I thought that error was seen when using a Windows account. I'm not I'm trying to use a SQL Server account. Any assistance provided is greatly appreciated.