Subject: Developers of Sympa
List archive
- From: address@concealed
- To: address@concealed
- Subject: Wrong Sybase's connect string
- Date: Fri, 21 Feb 2003 15:24:20 +0100
Hello,
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";
Thank you,
Gustavo Araujo Bittencourt
PS: Sympa version 3.4.3.1
-
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+.