Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] Wrong Sybase's connect string

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun - CRU <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] Wrong Sybase's connect string
  • Date: Mon, 24 Feb 2003 17:50:14 +0100

Hi Gustavo,

We've applied your patch to both CVS branches.
What strikes me is that nothing appear about such changes in DBD::Sybase
Release_notes ;
did it ever work ? I'm pretty sure it did !

What is your Sybase version ?
Anybody else running Sympa with Sybase ?

address@concealed wrote:
I found an error at Sybase's connect string on List.pm, the sympa's code uses "dbname"
parameter to define database, but it must use "database" parameter, see more in
DBD::Sybase documentation:
http://search.cpan.org/author/MEWP/DBD-Sybase-0.95/Sybase.pm#Connecting_to_Sybase

Here are the lines that I change:
Line 997
$connect_string = sprintf 'DBI:%s:database=%s;server=%s', $Conf{'db_type'},
$Conf{'db_name'}, $Conf{'db_host'};

Line 5577
$connect_string = "DBI:Sybase:database=$db_name;server=$host";
[...]
PS: Sympa version 3.4.3.1


--
Olivier Salaun
Comite Reseau des Universites



  • Wrong Sybase's connect string, gustavo . bittencourt, 02/21/2003
    • Re: [sympa-dev] Wrong Sybase's connect string, Olivier Salaun - CRU, 02/24/2003

Archive powered by MHonArc 2.6.19+.

Top of Page