LINUX.ORG.RU

История изменений

Исправление iZEN, (текущая версия) :

Меня больше волнует isql. Что не так с ним?

> isql 127.0.0.1:/var/db/examples/EMPLOYEE.FDB
[ISQL]ERROR: Could not SQLConnect

> isql 127.0.0.1:3050:/var/db/examples/EMPLOYEE.FDB -user SYSDBA -password masterkey

**********************************************
* unixODBC - isql and iusql                  *
**********************************************
* Syntax                                     *
*                                            *
*      isql DSN [UID [PWD]] [options]        *
*                                            *
*      iusql DSN [UID [PWD]] [options]       *
*                                            *
* Options                                    *
*                                            *
* -b         batch.(no prompting etc)        *
* -dx        delimit columns with x          *
* -x0xXX     delimit columns with XX, where  *
*            x is in hex, ie 0x09 is tab     *
* -w         wrap results in an HTML table   *
* -c         column names on first row.      *
*            (only used when -d)             *
* -mn        limit column display width to n *
* -v         verbose.                        *
* -lx        set locale to x                 *
* -q         wrap char fields in dquotes     *
* -3         Use ODBC 3 calls                *
* -n         Use new line processing         *
* -e         Use SQLExecDirect not Prepare   *
* -k         Use SQLDriverConnect            *
* -L         Length of col display (def:300) *
* --version  version                         *
*                                            *
* Commands                                   *
*                                            *
* help - list tables                         *
* help table - list columns in table         *
* help help - list all help options          *
*                                            *
* Examples                                   *
*                                            *
*      iusql -v WebDB MyID MyPWD -w < My.sql *
*                                            *
*      Each line in My.sql must contain      *
*      exactly 1 SQL command except for the  *
*      last line which must be blank (unless *
*      -n option specified).                 *
*                                            *
* Datasources, drivers, etc:                 *
*                                            *
*      See "man 1 isql"                    *
*                                            *
* Please visit;                              *
*                                            *
*      http://www.unixodbc.org               *
*      nick@lurcher.org                      *
*      pharvey@codebydesign.com              *
**********************************************

> ls /var/db/examples/EMPLOYEE.FDB
-rw-rw-rw-  1 root  wheel   1,1M  3 июня  21:52 /var/db/examples/EMPLOYEE.FDB

Исправление iZEN, :

Меня больше волнует isql. Что не так с ним?

> isql 127.0.0.1:/var/db/examples/EMPLOYEE.FDB -u SYSDBA -pas masterkey
[ISQL]ERROR: Could not SQLConnect

> ls /var/db/examples/EMPLOYEE.FDB
-rw-rw-rw-  1 root  wheel   1,1M  3 июня  21:52 /var/db/examples/EMPLOYEE.FDB

Исходная версия iZEN, :

Меня больше волнует isql. Что не так с ним?

> isql 127.0.0.1:/var/db/examples/EMPLOYEE.FDB
[ISQL]ERROR: Could not SQLConnect

> ls /var/db/examples/EMPLOYEE.FDB
-rw-rw-rw-  1 root  wheel   1,1M  3 июня  21:52 /var/db/examples/EMPLOYEE.FDB