Package: mysql-server-5.0
Version: 5.0.20a-2
Severity: important
Hi,
the mysql_upgrade script only gives --user and --password to
mysql_fix_privilege_tables when it is run for the first time after an upgrade.
On the following mysql-starts the CHECK_FILE is found and read and thus
the following part is executed:
if test -f $CHECK_FILE -a $force = 0
then
version=`cat $CHECK_FILE`
if test "$version" = "5.0"
then
if test $verbose = 1
then
echo "mysql_upgrade already done for this version"
fi
$bindir/mysql_fix_privilege_tables $args
exit 0
fi
fi
However $args doesn't include the auth-info and thus
mysql_fix_privilege_tables fails.
Also I think mysql_fix_privilege_tables should use a similar method to
be run only once during upgrade. According to the script comments/output
it should not be needed to run it on every mysql start.
Andreas
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500,
'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.5
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages mysql-server-5.0 depends on:
ii adduser 3.87 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.0 Debian configuration management sy
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libdbi-perl 1.50-2 Perl5 database interface by Tim Bu
ii libgcc1 1:4.1.0-2 GCC support library
ii libmysqlclient15off 5.0.20a-2 mysql database client library
ii libncurses5 5.5-2 Shared libraries for terminal hand
ii libreadline5 5.1-7 GNU readline and history libraries
ii libstdc++6 4.1.0-2 The GNU Standard C++ Library v3
ii libwrap0 7.6.dbs-9 Wietse Venema's TCP wrappers libra
ii mysql-client-5.0 5.0.20a-2 mysql database client binaries
ii mysql-common 5.0.21-1 mysql database common files (e.g.
ii passwd 1:4.0.15-6 change and administer password and
ii perl 5.8.8-4 Larry Wall's Practical Extraction
ii psmisc 22.2-1 Utilities that use the proc filesy
ii zlib1g 1:1.2.3-11 compression library - runtime
Versions of packages mysql-server-5.0 recommends:
pn mailx <none> (no description available)
-- debconf information:
mysql-server-5.0/really_downgrade: false
mysql-server-5.0/start_on_boot: true
mysql-server-5.0/nis_warning:
mysql-server-5.0/postrm_remove_databases: false
mysql-server-5.0/no_upgrade_with_isam_tables:
* mysql-server-5.0/mysql_install_db_notes:
mysql-server-5.0/mysql_update_hints1:
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]