Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server : SQL Server Network Interfaces: Connection string is not valid [87]. .
Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 11 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.
I have checked all the services related to SQL Server are up and running also check the connection using command:
sqlcmd -S PSARGAR-T420\MSSQLSERVER -d master -U MDMUser_901 -P Psargar@123
I am using SQL Server authentication still I am facing same error.