Search found 5 matches

by tomersagi
Mon Jun 15, 2015 11:36 pm
Forum: ODBC
Topic: New server, new error...
Replies: 2
Views: 15877

Re: New server, new error...

Just changed OS from Ubuntu 15 to RHEL 7. Other than that, no changes.
by tomersagi
Mon Jun 15, 2015 4:13 pm
Forum: ODBC
Topic: New server, new error...
Replies: 2
Views: 15877

New server, new error...

Hi, I moved my client application to a new server and again facing issues connecting using ODBC: -bash-4.2$ isql -v Vertica [S1000][unixODBC][Vertica][ODBC] (11560) Unable to locate SQLGetPrivateProfileString function. [ISQL]ERROR: Could not SQLConnect Here are my config files: -bash-4.2$ cat /etc/o...
by tomersagi
Thu Apr 16, 2015 11:09 am
Forum: ODBC
Topic: Error connection to vertica from cpp application
Replies: 6
Views: 27146

Re: Error connection to vertica from cpp application

Looking at your suggestion I found my problem.
I linked with libverticaodbc and not libodbc.
Thanks for the tip
Tomer
by tomersagi
Thu Apr 16, 2015 7:51 am
Forum: ODBC
Topic: Error connection to vertica from cpp application
Replies: 6
Views: 27146

Re: Error connection to vertica from cpp application

Thanks for answering, This is where dsn is defined: class DBA { public: DBA(); ~DBA(); const char *dsn = "Vertica"; And I tried with SQL_NTS beforehand, changed to sizeof in a desperate attempt to figure out the problem. Anyway, rerunning with SQL_NTS gives the same result. Tomer
by tomersagi
Wed Apr 15, 2015 9:29 am
Forum: ODBC
Topic: Error connection to vertica from cpp application
Replies: 6
Views: 27146

Error connection to vertica from cpp application

Hi, I'm writing a cpp application that connects to a vertica 7.1 server via odbc. The development system is an hLinux (Debian variant), I'm using the latest odbc driver manager and drivers from vertica. I've setup the odbc.ini, odbcinst.ini and vertica.ini files as per the instructions and set an en...

Go to advanced search