MaxDB Connection

From: Lee, Kerry T. (JSC-SF)[LMIT] <kerry.t.lee_at_nasa.gov>
Date: Fri, 5 Oct 2007 07:28:54 -0500


Dear ROOTers,

I am using the latest released version 5.17.02 on CentOS linux.

I am trying to connect to a MaxDB database via TSapDBServer and I get the following error (I have excluded the DATABASE name, UID and PWD values below)

root [0] gSystem.Load("$ROOTSYS/lib/libRODBC.so")
(int)0

root [1] gSystem.Load("$ROOTSYS/lib/libSapDB.so")
(int)0

root [2] TSapDBServer *server =new TSapDBServer("sapdb://DRIVER={MaxDB};SERVER=141.108.250.103;DATABASE=;UID=;PWD=","","");

SQL state: ?r
SQL code: 15
SQL Errortext:

Error in <TSapDBServer::TSapDBServer>: allocation of db failed

I am using the libsqlod.so driver and have been able to connect via the commandline using

isql -v DATASOURCENAME UID PWD

so I am somewhat confindent that at least the driver is working properly.

Any help is appreciated.

Thanks
Kerry Received on Fri Oct 05 2007 - 14:29:17 CEST

This archive was generated by hypermail 2.2.0 : Fri Oct 05 2007 - 17:50:02 CEST