Currently, I'm using SQL Server Management Studio (SSMS) to connect to remote SQL Server. And we are using command-line to connect to that server.
$ path\to\runas.exe /netonly /user:DOMAIN\USERNAME "path\to\Ssms.exe -S ip.xxx.yyy.zzz"
How can I connect to the same remote database using DBeaver ? I kept getting
Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
Other info :
For DBeaver, you may need to do the same thing as well into something like this :
$ path\to\runas.exe /netonly /user:DOMAIN\USERNAME "C:\Users\user\AppData\Local\DBeaver\dbeaver.exe -nl en"
Then, from DBeaver New Connection change the SQL Server authentication to Windows Authentication. It will use the username that we pass from runas.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With