[debian-mysql] installing mysql-server in a chroot, for building GNADE package

Stephen Leake stephen_leake at stephe-leake.org
Sat Oct 3 16:34:27 UTC 2009


Hi,

I'm acting as the maintainer for the GNADE package (Ada language
binding to ODBC and other databases).

I'm trying to build the GNADE package in a chroot, using the unstable
distribution.

Part of the package build process is to run a small test, which
requires connecting to an ODBC data source. I'm using MySQL as the
data source.

Under Lenny (my main installation), I can install mysql-server and
configure an ODBC datasource, and the GNADE test works.

However, in the unstable chroot, installing mysql-server fails; it
can't start the MySQL deamon. Here is the relevant part of the install
log:


Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:


I specified no root password for MySQL.

Do you have any suggestions for fixing this?

-- 
-- Stephe



More information about the pkg-mysql-maint mailing list