SOURCES: drupal-replication.patch - add to config replication setu...

glen glen at pld-linux.org
Mon Aug 15 15:45:14 CEST 2005


Author: glen                         Date: Mon Aug 15 13:45:14 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add to config replication setup information

---- Files affected:
SOURCES:
   drupal-replication.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/drupal-replication.patch
diff -u SOURCES/drupal-replication.patch:1.1 SOURCES/drupal-replication.patch:1.2
--- SOURCES/drupal-replication.patch:1.1	Mon Aug 15 15:40:05 2005
+++ SOURCES/drupal-replication.patch	Mon Aug 15 15:45:09 2005
@@ -229,3 +229,22 @@
 -?>
 \ No newline at end of file
 +?>
+--- ./sites/default/settings.php~	2005-08-15 16:41:07.000000000 +0300
++++ ./sites/default/settings.php	2005-08-15 16:42:47.000000000 +0300
+@@ -77,8 +77,15 @@
+  * Database URL format:
+  * $db_url = 'mysql://username:password@localhost/database';
+  * $db_url = 'pgsql://username:password@localhost/database';
++ *
++ * Database URL format with MySQL replication:
++ * $db_url = array();
++ * $db_url['default'] = "mysql://username:password@localhost/database";
++ * $db_url['slave1'] = "mysql://username:password@host/database";
+  */
+-$db_url = 'mysql://username:password@localhost/database';
++$db_url = array();
++$db_url['default'] = 'mysql://mysql:@localhost/drupal';
++#$db_url['slave1'] = "mysql://mysql:@mysql-slave/drupal";
+ $db_prefix = '';
+ 
+ /**
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/drupal-replication.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list