2 Databases installation need help
dotslasher - December 30, 2007 - 20:20
| Project: | phpbb |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have my drupal 5.x installation in 1 database and my phpbb3 installation in another one, but both have the same user ownership (access).
In your configuration.inc you mention "database.prefix_table" how do I use that in the config in order to get it working?
The names of the databases are: "website_drupal" and "website_phpbb"

#1
When i created a new user i got this:
Query failed: 0 INSERT INTO phpbb_website.phpbb_users )--> and then the registration info
When trying the other prefix i got this:
Query failed: 0 SELECT username, user_pass_convert FROM website_drupal.phpbb_users WHERE `user_id` = 1002
The database is website_phpbb the drupal one is website_drupal
#2
#3
#4
Think before you act, then you don't flood my inbox and are much more likely to get a response.
#5
I'm sorry mate, I'm not familiar with this ticket system. I didn't think it would show up so many times.
#6
So can I get your help please?
#7
I thought you had figured it out when you closed it.
In configuration.inc set
$db_prefix = 'website_phpbb.phpbb_';
and in functions_drupal.php
$drupal_user_table = 'website_drupal.drupal_users';
$drupal_session_table = 'website_drupal.drupal_sessions';
Haven't really tested this, but don't see any reason why it wouldn't work if you've set the right permissions.