Open shiva1232 opened 2 years ago
I am trying to connect for automation from Linux centos VM to windows MSSQL servers below .
mssql-cli -S XXXXXXX,1433 -U pamus-adm -d Password: Error message: Login failed for user 'pamus-adm'.
user account(pamus-adm) has access. I am able to log in manually. How to troubleshoot and fix. Please help.
It looks like you may be using a Windows-style server argument whereas Linux just uses hostname. Try -S localhost if you're running it from the database server.
-S localhost
I am trying to connect for automation from Linux centos VM to windows MSSQL servers below .
mssql-cli -S XXXXXXX,1433 -U pamus-adm -d
Password:
Error message: Login failed for user 'pamus-adm'.
user account(pamus-adm) has access. I am able to log in manually. How to troubleshoot and fix. Please help.