$44 GRAYBYTE WORDPRESS FILE MANAGER $35

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/freetds11/usr/share/man/man1/

HOME
Current File : /opt/alt/freetds11/usr/share/man/man1//osql.1
.\" cf. groff_mdoc
.Dd April 26, 2012
.Os FreeTDS 1.4.26
.Dt OSQL FreeTDS "FreeTDS Reference Manual"
.\"
.Sh NAME
.Nm osql
.Nd utility to test FreeTDS connections and queries
.\"
.Sh SYNOPSIS
.Pp
.Nm
.Fl S Ar dsn 
.Fl U Ar username
.Fl P Ar password
.Op Fl I Pa ini_directory
.\"
.Sh DESCRIPTION
.Pp
.Nm
is a diagnostic tool provided as part of FreeTDS. It is a
Bourne shell script that checks and reports on your configuration
files. If everything checks out OK, it invokes isql.
.Pp
.Nm
works only with the isql that comes with unixODBC.
.\"
.Sh OPTIONS
.Bl -tag -width indent
.It Fl S Ar dsn
the Data Source Name to which to connect, as known to 
.Pa odbc.ini Ns .
.It Fl U Ar username
database
login name.
.It Fl P Ar password
database password.
.It Fl I Ar ini_dir
override
.Pa odbc.ini
file location.
.El
.\"
.Sh EXAMPLE
If you have an
.Pa odbc.ini
with a section like this:
.Bd -literal -offset indent
.Bq myDSN
servername = myserver
TDS_Version = 5.0
.Ed
.Pp
You would invoke 
.Nm
as:
.Pp
.Li osql -S myDSN 
.Op .\|.\|.\&
.\"
.Sh FILES
.Pa odbc.ini
.Pa freetds.conf
.\"
.Sh NOTES
If you can connect with
.Ql osql -S servername -U user -P passwd Ns ,
your FreeTDS ODBC installation is working.
.Pp
.Nm
guesses where unixODBC might look for its
.Pa odbc.ini
by examining the binary. This is not always an effective approach. If
it doesn't work, you'll receive a report of candidate strings. Kindly
pass along the output to help improve the guessing.  
.Pp
If
.Nm
cannot intuit your
.Pa odbc.ini
directory, you can force the issue with
the 
.Fl I
option. However, you're then instructing 
.Nm
what to test, not where unixODBC will eventually look. Your override
is therefore only as good as you are. Look carefully at the error
output before overriding.  
.Pp
If you have suggestions for ways to make
.Nm
more useful as a diagnostic tool, please post them to the FreeTDS
mailing list.
.\"
.Sh HISTORY
.Nm
first appeared in FreeTDS 0.65.
.\"
.Sh AUTHORS
The 
.Nm
utility was written by 
.An James K. Lowden Ns .


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.35 PM
root / root
0755
bsqldb.1
3.429 KB
29 Jan 2025 3.28 PM
root / root
0644
bsqlodbc.1
2.328 KB
29 Jan 2025 3.28 PM
root / root
0644
datacopy.1
2.359 KB
29 Jan 2025 3.28 PM
root / root
0644
defncopy.1
2.559 KB
29 Jan 2025 3.28 PM
root / root
0644
fisql.1
4.056 KB
29 Jan 2025 3.28 PM
root / root
0644
freebcp.1
6.203 KB
29 Jan 2025 3.28 PM
root / root
0644
osql.1
1.969 KB
29 Jan 2025 3.28 PM
root / root
0644
tsql.1
3.402 KB
29 Jan 2025 3.28 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF