$ sqsh -U xxx -P yyy -D 1.2.3.4:5555
sqsh-2.1.7 Copyright (C) 1995-2001 Scott C. Gray
Portions Copyright (C) 2004-2010 Michael Peppler
This is free software with ABSOLUTELY NO WARRANTY
For more information type '\warranty'
Open Client Message
Layer 0, Origin 0, Severity 78, Number 44
Server name not found in configuration files.
Open Client Message
Layer 0, Origin 0, Severity 78, Number 45
Unknown host machine name.


After filling /etc/freetds/freetds.conf with:

[vitrina]
        host = 1.2.3.4
        port = 5555
        tds version = 5.0

I able to connect by:

  $ sqsh -U opereta -P sybase -S vitrina


My question is it possible to connect to DB without editing
``/etc/freetds/freetds.conf`` with -D option?

Connection setting MUST live out of /etc/* hierarchy... You definitely need no
root permission just for connecting to DB.

-- 
Best regards!


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to