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: "WORENKLEIN, David, GCM" <David dot Worenklein at gcm dot com>
Subject: RE: cannot connect to Sybase
Date: May 3 1999 10:42AM

Check your $SYBASE environment variable

> -----Original Message-----
> From: Carlos López [mailto:clopez@uap.cnr.gob.sv]
> Sent: Friday, April 30, 1999 6:20 PM
> To: SybPerl Discussion List
> Subject: cannot connect to Sybase
> 
> 
> I have a problem trying to connect to Sybase...
> my program looks like this one:
> ----------------
> use Sybase::DBlib;
> $dbh=new Sybase::DBlib 'sa', '', 'SYBASE' or die
> 'Cannot Connect';
> $dbh->dbcmd("select * from sysprocesses\n");
> $dbh->dbsqlexec;
> $dbh->dbresults;
> while(@data=$dbh->dbnextrow)
> {
> print @data;
> }
> ----------------------------
> and the result I receive is as follows:
> ----------------------------
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale setting:
>           LC_ALL = "default",
>           LANG = (unset)
>     are suported and installed on your system.
> perl: warning: Falling back to the standard locale
> ("C").
> Cannot connect at prueba.pl line 2.
> -------------------------
> 
> Can someone help me please...I'm starting on using
> sybase and perl...
> thanks in advance,
> Carlos.
> 
> 
>