Package: mysql Version: 5.0 Severity: important I've changed datadir in my.cnf and MySQL works fine, but when starts it, have this error in /var/log/syslog:
Oct 22 07:04:42 itaca /etc/mysql/debian-start[3244]: Can't find data directory. Please restart with --datadir=path-to-data-dir Seems that /usr/bin/mysql_upgrade_shell doesn't receive the datadir parameter and execs "DATADIR=/var/lib/mysql" in # # Try to find the data directory # if test -z "$DATADIR" [...] -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16.18-smp-bitassa Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]