Can I share a DB with multiple domains?

Hi All,

Im building two ecommerce sites, one retail and one wholesale. I’d like to keep them separate but still share one common database. Is this possible? If so, do I just point them to the db dns? Most hosting places restrict access to only localhost, so just wondering.



you should be able to set this up. since DH doesn’t use localhost, you actually create a mysql host name for each database.

All DH machines have access to the mysql servers, just make sure you use differnet table prefix when you’re setting it up so you don’t overwrite data.