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: "=?iso-8859-1?Q?Carlos_L=F3pez?=" <clopez at uap dot cnr dot gob dot sv>
Subject: cannot connect to Sybase
Date: Apr 30 1999 10:20PM

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.