Hi, I am using the csqlds tool like this:
csqlds kamal rebaca myodbc mysql -a
I am getting usage error:
Usage: csqlds [-U username] [-P passwd] [-D dsnname] [-N tdbname]
username -> Username of TDB .
passwd -> Password of TDB.
dsnname -> DSN to connect to tdb.
tdbname -> Name of Target database
-a -> Add entry to csqlds.conf
-r -> Remove entry from csqlds.conf
My odbc.ini looks like this:
[ODBC Data Sources]
myodbc = MyODBC 3.51 Driver DSN
Driver = /usr/lib/i386-linux-gnu/odbc/libmyodbc.so
Description = Connector/ODBC 3.51 Driver DSN
SERVER = localhost
PORT = 3306
USER = kamal
Database = test
OPTION = 16
SOCKET = /run/mysqld/mysqld.sock
I am new to csql. Please suggest if any thing looks amiss.
As mentioned in Usage message, try as below
csqlds [-U username] [-P passwd] [-D dsnname] [-N tdbname] -a
csqlds -U kamal -P rebaca -D myodbc -N test -a
Thanks a lot. It worked. :)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.