Skip to content

Commit

Permalink
isql.1: Add information about handling passwords containing semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
hughmcmaster committed Dec 12, 2022
1 parent 241f372 commit 67e35e2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions man/isql.1
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ Password required to access the database for the specified \fBUSER\fR.
This parameter overrides any \fBPASSWORD\fR specified in the data source
configuration files.

When using \fBiusql\fR, passwords containing semicolons should be escaped with
braces (curly brackets) and terminated with a semicolon. Refer to the Examples
section below for syntax.

.SH OPTIONS

.IP \fB\-b\fR
Expand Down Expand Up @@ -144,6 +148,16 @@ A string DSN may be provided in its entirety, with no file DSN reference at all:
$ iusql ";Driver=PostgreSQL Unicode;UID=MyID;PASSWORD=secret" \-v
.fi

.IP "A password containing a semicolon (\fBiusql\fR):"

.nf
$ iusql WebDB MyID '{My;PWD};'
.fi

.nf
$ iusql 'DSN=WebDB;UID=MyID;PWD={My;PWD};'
.fi

.SH TROUBLESHOOTING

.IP "Cryptic error messages"
Expand Down

0 comments on commit 67e35e2

Please sign in to comment.