Sql question


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?



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

:cool: Perl / MySQL / HTML+CSS


Why Not?


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.



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