I successfully installed phpBB 2.0.21 in a directory named /forum/. The db name is phpbb_mydb. The db username is phpbb_username
Mistakenly I tried to rename the directory. Via FTP I changed the name from /forum/ to /forums/ but it caused lots of problems.
Now I'm trying to install another phpBB forum but I need the directory name to be /forums/. It needs to use the same db. Once the new /forums/ is up and running I'll delete /forum/
I installed the second forum naming it /forums/ and ran /install/install.php and got:
My questions:
1. Do I need to change the db prefixes in MySQL also?
2. If yes, how do I do this?
3. Do I change both the db name and the db username prefixes in MySQL?
In MySQL I tried creating a new prefix named phpbb2_mydb and it came out as phpbb2_phpbb2mydb so I must have done something wrong.
Any examples would be appreciated.
Thanks,
Kerry
Mistakenly I tried to rename the directory. Via FTP I changed the name from /forum/ to /forums/ but it caused lots of problems.
Now I'm trying to install another phpBB forum but I need the directory name to be /forums/. It needs to use the same db. Once the new /forums/ is up and running I'll delete /forum/
I installed the second forum naming it /forums/ and ran /install/install.php and got:
I asked for help and a poster replied:An error has occurred during installation
An error occurred trying to update the database
Table 'phpbb_auth_access' already exists
After reading the answer I ran /install.php again and in the configuration page I changed the prefix of the db name from phpbb_mydb to phpbb2_mydb. I also changed the db username from phpbb_username to phpbb2_username —and I got all sorts of errors.You have to change the prefix when you're installing multiple boards on a database. That error basically means that a phpBB install has already been run with the prefix (phpbb_) being used so just change that in the install script.
My questions:
1. Do I need to change the db prefixes in MySQL also?
2. If yes, how do I do this?
3. Do I change both the db name and the db username prefixes in MySQL?
In MySQL I tried creating a new prefix named phpbb2_mydb and it came out as phpbb2_phpbb2mydb so I must have done something wrong.
Any examples would be appreciated.
Thanks,
Kerry