phpBB module with two database

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
derek-drupal's picture

Is possible to install drupal in one database (with his username and password) and phpBB in another database (with other username and password), using phpBB module?

In my "configuration.inc.php" file, i've add this:

$db_prefix = 'phpBbDatabaseName.phpbb_';

instead of

$db_prefix = 'phpbb_';

but i've got this error:

user warning: Access denied for user 'drupalDBuser'@'%' to database 'phpBbDatabaseName' query:
SELECT user_unread_privmsg FROM phpBbDatabaseName.phpbb_users WHERE user_id = 1 in
/www.myWebSite.com/htdocs/includes/database.mysql.inc on line 172.

Can you help me?

Comments

I guess you should ask your

ARray's picture

I guess you should ask your database administrator to give access to the database 'phpBbDatabaseName' for user 'drupalDBuser'
:D

phpbb

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week