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.
Log in to post a comment.