Hello,

Tip: it makes it easier for others to help if you provide more
information like received error messages, what steps you have already
tried and so on.

I am only guessing at what OS you are using, but suppose it is Linux and
suppose you are using unixODBC:

Your odbc files seem OK, this is how my odbc and odbcinst files look
like

====odbcinst.ini====
[ODBC]
Trace           = Yes
TraceFile               = /tmp/sql.log
ForceTrace              = No
Pooling         = Yes

[maxdb]
Description             = maxdb driver
Driver          = <maxdb independent programs path>/lib/libsqlod.so
Setup           = /usr/lib/unixODBC/libsapdbS.so.1
FileUsage               = 1
CPTimeout               =
CPReuse         =
====odbcinst.ini====

====odbc.ini====
[eccentxd]
Description     = maxdb
Driver          = maxdb
ServerNode      = localhost
ServerDB        = <your dbname>
====odbc.ini====

Now be sure to have the following symbolic links to
/etc/unixODBC/odbc.ini:

in /etc : /etc/odbc.ini
in your home directory: .odbc.ini (mind the dot at the beginning)

To test if your odbc works you can use the isql tool that is supplied
with unixODBC:
isql DSN USER PASSWD => isql MaxDB <user> <password>
It is also interesting to put tracing on. It might contain some usefull
information.
If this works, then go one trying to connect with PERL, at least you
have isolated the problem a bit further.


Regards,

Filip


On Wed, 2004-05-05 at 11:11, Die KuHShow wrote:
> Hello, i am new to this Mailinglist.
> 
> I have following problem by trying to connect with Perl on a MaxDB. I
> want to use ODBC to do it. My settings in are:
> 
> odbc.ini
> 
> [MaxDB]
> Description             = MaxDB
> Driver          = MaxDB
> Host            = localhost
> Database                = TESTDB
> Tracefilename           =
> 
> 
> odbcinst.ini
> 
> [MaxDB]
> Description     = TestDB
> Driver          = /usr/lib/libsqlod.so
> Setup           = /usr/lib/libsqlod.so.7.5.00
> FileUsage       = 1
> 
> I have already installed a Database named TESTDB. It works fine, but i
> can't connect with Perl. Perhaps i must do something else or have
> forgotten something.
> 
> greetz
> 
> Daniel Kuschow @ [EMAIL PROTECTED]
> 
> 
> -- 
> MaxDB Discussion Mailing List
> For list archives: http://lists.mysql.com/maxdb
> To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
> 
-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
* System Engineer, Verzekeringen NV *
* www.verzekeringen.be              *
* Oostkaai 23 B-2170 Merksem        *
* 03/6416673 - 0477/340942          *
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to