Re: connecting 5.8.3 Perl to ASE-12.5, connection successful, no dbh returned

From: Michael Peppler (mpeppler_at_peppler.org)
Date: 05/17/04


To: dbi-users@perl.org
Date: Mon, 17 May 2004 17:41:25 +0200

On Mon, 2004-05-17 at 11:46, Aeoric wrote:
> I have installed the latest Perl from Activestate and
> (Personal) Sybase ASE 12.5 on WindowsXP, as well as the
> Sybase Client files and .dlls.
>
> On another part of the system we've managed to get Java
> (1.3.1) to connect and talk to Sybase, it seems the Perl
> ->Sybase connection is proving more tricky than expected.
>
>
> I've run ppm and installed both DBI and DBD::Sybase for
> Perl and used this code to connect

Hmmm - which ppm for DBD::Sybase did you use?

> Now - the Perl actually connects to Sybase, as I can
> see the connection using sp_who on Sybase

Are you 100% positive that you are seeing the perl connection in the
sp_who listing?

If you are, then the most likely problem is that the ppm is built with a
different version of OpenClient from the one you have installed, and
that the communication between the client and the server is somehow
confused.

Michael

-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html


Relevant Pages

  • connecting 5.8.3 Perl to ASE-12.5, connection successful, no dbh returned
    ... Sybase Client files and .dlls. ... to connect and talk to Sybase, it seems the Perl ... is never passed back to Perl as no dbh (database ... Download Messenger Now ...
    (perl.dbi.users)
  • Loading DBD::Sybase 1.08 On Windows 32 bits
    ... DBI to interface the Sybase database from the Apache Web Page. ... we have a new Microsoft Share Point server for the Portal ... Using ActivePerl from ActiveState I want to develop Perl code on ...
    (perl.dbi.users)
  • Loading DBD::Sybase 1.08 On Windows 32 bits
    ... DBI to interface the Sybase database from the Apache Web Page. ... we have a new Microsoft Share Point server for the Portal ... Using ActivePerl from ActiveState I want to develop Perl code on ...
    (perl.dbi.users)
  • Re: Perl / Sybase
    ... Excel and written some SQL queries. ... (we use Sybase) ... DBI is really *the* perl database interface. ... activestate's activeperl is probably the easiest to install on ...
    (comp.lang.perl.misc)
  • Re: 64bit Tcl/Tk loading 32bit extensions
    ... >> that you can do this in perl, but I'd certainly like to have this ... >> and I use sybtcl extensively, so I think I need to comile sybtcl as a ... Sybase servers, to be used in place of the standard Sybase libraries. ...
    (comp.lang.tcl)