Package: phpmyadmin Version: 3.3.7-5 When I preseed answer phpmyadmin/mysql/admin-user to something other than root debconf fails to use it when creating the user/database for phpmyadmin. This may be a larger issue with dbconfig-common.
Here is what I do to test on a fresh install of Debian 6.0: # Quickly set up Apache with PHP and MySQL changing the root username... apt-get update echo mysql-server-5.1 mysql-server/root_password password mysqlpass | debconf-set-selections echo mysql-server-5.1 mysql-server/root_password_again password mysqlpass | debconf-set-selections apt-get --no-install-recommends -y install apache2-mpm-prefork mysql-server libapache2-mod-php5 mysql -u root -pmysqlpass mysql --execute="UPDATE user set user = 'mysqluser' where user = 'root';" service mysql reload # Now set up phpMyAdmin (tries to connect as 'root'@'localhost' instead of 'mysqluser'@'localhost') echo phpmyadmin phpmyadmin/reconfigure-webserver multiselect apache2 | debconf-set-selections echo phpmyadmin phpmyadmin/dbconfig-install boolean true | debconf-set-selections echo phpmyadmin phpmyadmin/app-password-confirm password pmapass | debconf-set-selections echo phpmyadmin phpmyadmin/mysql/admin-user string mysqluser | debconf-set-selections echo phpmyadmin phpmyadmin/mysql/admin-pass password mysqlpass | debconf-set-selections echo phpmyadmin phpmyadmin/mysql/app-pass password pmapass | debconf-set-selections apt-get --no-install-recommends -y install phpmyadmin service apache2 reload I am using Debian GNU/Linux 6.0, kernel 2.6.32-5-686 -- Regards Steven Maddox OCM Communications Limited, 15 High Street, Shipston on Stour, Warwickshire, CV36 4AB. This document is intended for, and should only be read by, those persons to whom it is addressed. Its contents are confidential and if you have received this message in error, please notify us immediately by telephone and delete all records of the message from your computer. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this message without our prior or written consent is strictly prohibited. Neither the author of this message nor their employers accept legal responsibility for the contents of the message. Any views or opinions presented are solely those of the author.