Re: MaxDB Connection

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Fri, 05 Oct 2007 14:41:03 +0200


Kerry,

Do you have the possibility to compile TSapDBServer and introduce the relevant print statements to see what happens in your case?

Rene Brun

Lee, Kerry T. (JSC-SF)[LMIT] wrote:
>
> 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:41:03 CEST

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