Having problems installing Drupal? See the Installation Guide for more information.

Sharing tables: One master, many slaves vs. one slave, many masters

It seems to me, that the sharing tables functionality works only in one direction:
You can have one master table and many slave tables (the sso module works in the same way). Effect of sharing user tables: Once logged in to the master you have access to all slaves too
But there are scenarios for other combinations: one slave and many masters.

Does anyone know a solution for that?

see also http://drupal.org/node/view/9186

Undefined index ?

Notice: Undefined index: pass in c:\program files\easyphp1-7\www\drupal\includes\database.mysql.inc on line 12

what is the matter ? what is the answer ?

Sharing Tables - Super Advanced Usage

I followed the instruction on page http://drupal.org/node/view/2622#advanced

2 drupal installations:



master_db=drupal-pca120

slave_db=drupal-pca1

conf.php of the slave:

$db_url = "mysql://mysqluser:password@localhost/drupal-pca1";

#   If $db_prefix is specified all database table names will be
#   prepended with this string.  Be sure to use valid database
#   characters only, usually alphanumeric and underscore.  If no
#   prefixes are desired, set to empty string "".
$db_prefix = array(
    "default" => "drupal-pca1.",
    "users" => "drupal-pca120.",
    "sessions" => "drupal-pca120.",
    "role" => "drupal-pca120.",
    "authmap" => "drupal-pca120."
); 

conf.php of th master:

db_url = "mysql://mysqluser:412me@localhost/drupal-pca120";

#   If $db_prefix is specified all database table names will be
#   prepended with this string.  Be sure to use valid database
#   characters only, usually alphanumeric and underscore.  If no
#   prefixes are desired, set to empty string "".
$db_prefix = ""; 

If I go to the slave-site I get this Error:

Fatal error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-pca120.users u INNER JOIN drupal-pca120.sessions s ON u.uid = query: SELECT u.*, s.* FROM drupal-pca120.users u INNER JOIN drupal-pca120.sessions s ON u.uid = s.uid WHERE s.sid = '0977edb2a9f61d735e685c81da9ff13b' AND u.status < 3 LIMIT 0, 1 in /usr/local/www/PCA/html/includes/database.mysql.inc on line 100

Is the session.save_handler user requirement important?

Hi

The install.txt file says that

Your PHP must have the following settings:
session.save_handler user

My hoster has set that to "files" instead of "user", but Drupal seems to work fine anyway. Am I to run into yet unknown troubles?

Regards
Bjarne, Denmark

create first user when installing drupal 442 on hosting server

Hello,

I searched through numerous posts here, but didn't find the right solution, therefore my question:

i'm having probs installing drupal on a server where I host my account. This server should be capable of running drupal. To be more specific I'm experiencing probs when registerring as user. I can fill in an e-mailaddress, and username, but the mail is not sent (or it does not arrive).

problem with drupal on my first installation

hi guys

after i installed drupal, when i access the index.php at root, i always get the admin mainpage, the one which welcomes u and asks u to create the first user.

even after i created the first user, whenever i access drupal i will get this page. no login box or left navi bar or posts.

pls advise what is wrong with my installation.

simon

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal