Package: phpbb2-conf-mysql
Version: 2.0.18-2
Severity: normal

Having mastered the installation of phpbb2 (#369914) I got a page
recommending the installation of the phpbb2-conf-mysql package.

This results in a mess if the mysqld should run on localhost, too
(typical setup for a small size and also suggested by the installer) but
is not installed yet.


phpbb2-conf-mysql cannot depend on a mysql-server package as the server
might be located elsewere. Therefore the installation script asks for
the credentials and later fails complaining about a missing mysql-server
package and leaves the system not fully configured.

Now installing an server also resumes the phpbb2-conf-mysql
configuration although I was not able to configure mysqld yet, i.e. set
a mysql root password. phpbb2-conf-mysql has to aborted again for that.


A beatiful solution was to suspend the phpbb2-conf-mysql installation if
the "There is no mysqld on localhost yet" situation is encountered until
the mysqld is installed and fully configured. I don't know whether this
is possible with apt/dpkg.

A workaround was to enhance the message in
/usr/share/phpbb2/site/config.php (from the phpbb2 package):

"Install phpbb2-conf-mysql to have a database setup automatically, or
 see <tt>/usr/share/doc/phpbb2/README.Debian</t> for information on how
 to make one yourself."

by a warning like:

"If you plan to use a mysql server on localhost, make sure that you've
 installed and configured an according package <b>before</b>
 you install phpbb2-conf-mysql."

That would have saved some time for me.

    Christoph

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.19
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages phpbb2-conf-mysql depends on:
ii  debconf [debconf-2.0]       1.5.1        Debian configuration management sy
ii  makepasswd                  1.10-3       Generate and encrypt passwords
ii  mysql-client                5.0.20-1     mysql database client (current ver
ii  mysql-client-5.0 [mysql-cli 5.0.20-1     mysql database client binaries
ii  php4-mysql                  4:4.4.2-1+b1 MySQL module for php4
ii  phpbb2                      2.0.18-2     A fully featured and skinnable fla
ii  ucf                         2.0010       Update Configuration File: preserv
ii  wwwconfig-common            0.0.45       Debian web auto configuration

Versions of packages phpbb2-conf-mysql recommends:
ii  mysql-server-5.0 [mysql-serve 5.0.20-1   mysql database server binaries

-- debconf information:
  phpbb2-conf-mysql/dbfailcreatetables:
  phpbb2-conf-mysql/nodbpurge:
* phpbb2-conf-mysql/dbfailcreate:
  phpbb2-conf-mysql/dbfailcreateuser:
* phpbb2-conf-mysql/dbserver: localhost
* phpbb2-conf-mysql/dbsetup: Create
  phpbb2-conf-mysql/db_created: true
  phpbb2-conf-mysql/db_version: 2.0.18-1
* phpbb2-conf-mysql/dbname: phpbb2
  phpbb2-conf-mysql/redodb: false
* phpbb2-conf-mysql/dbuser: phpbb2


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to