Drupal 8 - multisite with shared tables (user tables / all tables)?


if you'd like to make sth I was looking for you've got three options:

  • you need to write your own module ;) ,
  • you need to wait for "Domain Access" module for D8: https://www.drupal.org/project/domain ,
  • you can also use D7 and module from URL which I provide above.

I chose 3rd option.

Tags: Mysql / Drupal / Drupal 7

Similar questions

Multisite, shared users, own databases, own files, how to deal with profile picture?
I'm in the middle of implementing a multisite setup. Each site will have it's own database, and files directory, but they will share the user table from the default database. Because the profile picture field in the user table is set to a fid, am I right in thinking this will break a user picture if they look at their profile on a different site? f...
Shared Multisite Settings
Using a Drupal Multisite system, is it possible to have a base set of configuration settings shared across multiple sites? That is, each site in Drupal has a settings.php file Is there a master settings.php where I could set a configuration value once and have it apply to all my sites? Or is this normally handled at the deployment level?
Specify on which subdomain to show node (Multisite with shared Database)
I'm using multisite with shared database. Is there any way I can specify on which subdomain I want the content to be displayed (on node creation)? So If I create a node, I would like to have checkboxes that say (subdomain1, subdomain2, subdomain3). Thanks in advance
Have Database Update ignore prefix for multisite with shared database
I currently have a multisite with a single database. Each instance has a different prefix for their tables, except for one with no prefix which is considered to be the main instance. Now there is a custom table I made that contains custom data. That table is meant to be shared across all instances. In a function I'm updating a field like so This wo...
Are shared user tables still supported and working?
I have tested a Drupal 7 multi-site before, and it worked for me perfectly. With Drupal 8, it doesn't work as expected. Suppose there are two sites, site1 with site1_ as table prefix and site2 with site2_ as table prefix. The documentation says that I should add the following lines in the settings.php file. It doesn't work because the users table i...
Is there an automated way to create another multisite inside of an existing multisite Drupal install?
I have an existing instance of D7 in a multisite configuration on RedHat. Can I use drush si to create a new database and /sites/ instance -- without altering any existing subsite? Is there a way to automate this? I'm envious of Wordpress Networks' ability to spawn up a new site inside the admin console. In my current process, I create a database o...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.