You need to install a configuration file in
/etc/phpbb2/config.php to tell phpbb where its database can
be found. Install phpbb2-conf-mysql to have a database setup
automatically, or see /usr/share/doc/phpbb2/README.Debian for
information on how to make one yourself.