Package: usermin-mysql
Version: 1.110-3.1
Severity: important

After upgrading to Debian Etch, which includes MySQl 5, the mysql module
of usermin refuses to work. It reports:

=============
The MySQL client program /usr/bin/mysql does not appear to be the
correct version. Webmin only supports MySQL versions 3 and above.
The command /usr/bin/mysql -V returned :

/usr/bin/mysql  Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using
readline 5.2
=============

Clearly, version 5  should satisfy the >= 3 version requirement, but the
actual check in /usr/share/usermin/mysql/index.cgi is:
$out !~ /distrib\s+((3|4)\.[0-9\.]*)/i
so it checks for mysql 3 or 4.
After adding version 5 to this check, the module seems to work again.
But maybe there is more to it than just this simple modification.

David Jansen

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7SNTI005
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages usermin-mysql depends on:
ii  mysql-client-5.0 [mysql-cl 5.0.32-7etch1 mysql database client binaries
ii  perl                       5.8.8-7       Larry Wall's Practical Extraction 
ii  usermin                    1.110-3.1     a web interface for user tasks

usermin-mysql recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to