Domain Access Database prefix
I figured this out by making decisions in the settings.php file.  I have a switch statement that gets the url and then sets a table prefix variable and then that determines the db name, the db password and the prefix.  The default is to share everything if something is not found.