Sql question


#1

Say I have a sql database at database.domain.com, can I create multiple databases at database.domain.com… say one for a forum and one for a image gallery? or do i have to create it on a different sub-domain?

thanks


#2

You can’t have more than one database on a subdomain.

:cool: Perl / MySQL / HTML+CSS


#3

Why Not?


#4

becuase you can’t… DH does not allow the creation of multiple databaes per host name - it’s just a no go.

But you get un-limited mysql DBs, so just create a couple host names.

-Matttail


#5

In your case, it would seem there is no need to create multiple databases. What you need is multiple tables, which is perfectly okay. A forum may utilize several tables, and an image gallery may require several more tables (if the images have multiple categories, for example), and they can all coexist on a single database.


Simon Jessey
Keystone Websites | si-blog