Package: nagios-mysql Version: 2:1.3-cvs.20050402-12 Followup-For: Bug #352762
Original patch is backwards. New patch attached. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages nagios-mysql depends on: ii dbconfig-common 1.8.11 common framework for packaging dat ii debconf [debconf-2 1.4.57 Debian configuration management sy ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an ii libdbd-mysql-perl 3.0002-1 A Perl5 database interface to the ii libgd2-xpm 2.0.33-2 GD Graphics Library version 2 ii libjpeg62 6b-10 The Independent JPEG Group's JPEG ii libmysqlclient15 5.0.16-1 mysql database client library ii libpng12-0 1.2.8rel-4 PNG library - runtime ii nagios-common 2:1.3-cvs.20050402-12 A host/service/network monitoring ii zlib1g 1:1.2.3-3 compression library - runtime Versions of packages nagios-mysql recommends: pn nagios-images <none> (no description available) -- debconf information excluded
64,65c64,65 < if(defined($dbhost)) { $dsn .= "host=$dbhost"; } else { $dbhost=""; } < if(defined($dbport)) { $dsn .= "port=$dbport"; } else { $dbport=""; } --- > if(defined($dbhost)) { $dsn .= ";host=$dbhost"; } else { $dbhost=""; } > if(defined($dbport)) { $dsn .= ";port=$dbport"; } else { $dbport=""; }