Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

Command line connection issue to SQL Server database

lukepet's profile image lukepet posted 2 months ago in General Permalink

Hi, I have an SQL Server connection database that works properly on HeidiSQL 11 GUI (see attachment).

Now, if I try to do same thing from command line it doesn't work :(

heidisql.exe -n=4 -h=192.168.1.30\SQL2016 -u=sa -p=MYPASSWORD -D=MYDATABASE

I also tried to set port (-P=0) but nothing.

What am I doing wrong? How should I do it?

Thank you in advance for any useful information about it.

1 attachment(s):
  • Connection-SQL-Server
ansgar's profile image ansgar posted 2 months ago Permalink

See issue #977

Please login to leave a reply, or register at first.




Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.