[debian-mysql] Bug#673777: mysql-client: mysql client fails to run without mysql-server installed

Tozz tozz at kijkt.tv
Mon May 21 11:43:00 UTC 2012


Package: mysql-client
Version: 5.5.24-1~dotdeb.1
Severity: important

The mysql client fails to run on a system where mysql-server is not installed.
This is because the mysql client reads /etc/mysql/my.cnf, which contains
a directive to read /etc/mysql/conf.d/:

!includedir /etc/mysql/conf.d/

However, this directory is not created by mysql-client. Only by mysql-server (I assume).

The client errors with:
# mysql
mysql: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted

The solution is to either create the directory /etc/mysql/conf.d or comment out
the include directive.


-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mysql-client depends on:
ii  mysql-client-5.5       5.5.24-1~dotdeb.1 MySQL database client binaries

mysql-client recommends no packages.

mysql-client suggests no packages.

-- no debconf information





More information about the pkg-mysql-maint mailing list