I'm looking at an existing site and they are using separate databases. The databases seem to be setup in the following manner:
- general types (user_type, language, age, etc)
- member data (registration information & login)
- site configuration
Personally, I would put everything into 1 database. To me this would make it easier than almost always having to put the database name in front of every table.
I can see from a security perspective ensuring that people cannot access the wrong data by accident, but on this site there are going to be admins (about 10% of the users on the site) that will need to access all the databases, doing cross database searches.
What could be the reasons for doing separate databases? (The site is in PHP & MySQL.)
Edit: The names of the db are:
sitename
(the actual site name) (general types)member
(member data)siteconfig
(site configuration)