PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Laurent Sainte-Marthe <smarthe at genoscope dot cns dot fr>
Subject: RE: SUMMARY:Sybperl 2.08 in DU 4.0b
Date: Dec 22 1997 10:47AM

Spelling error is in my email, not in my script.

I have :

 $server = "myserver";
 ...
 $dbh = new Sybase::DBlib $user, $password, $server;
 
So, error message is still there

  Other ideas are welcome
  
  Laurent
  
-------------------------------------------------------------
Laurent Sainte-Marthe			GENOSCOPE
Tel : 01-60-87-25-00		Centre National de Sequencage
Fax : 01-60-87-25-13
-------------------------------------------------------------

> I think that error reflects that you were unable to connect to the 
> database. i.e. your new Sybase call failed.  Check the spelling of 
> $server.
> 
> Have a good day,
> Brian
>  
> >  But now, I have an other problem :
> >  
> >  during execution of a simple test
> >  
> >  use Sybase::DBlib;
> >  $user = "mylogin";
> >  $password = "mypassword";
> >  $server = "myserver";
>    ^^^^^^^
> 
> >  $dbh = new Sybase::DBlib $user, $password, $serveur;
>                                               ^^^^^^^^
> >  $dbh->dbcmd("use mydatabase");
> >  
> >  this message appear :
> >  
> >   Can't call method "dbcmd" without a package or object reference at ./test 
line 
> > 12.
> 
>