Module: kamailio
Branch: master
Commit: 90e96be7efab2a41417f3997fb06010ce0973d27
URL:
https://github.com/kamailio/kamailio/commit/90e96be7efab2a41417f3997fb06010…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-03-21T22:30:30+01:00
db_cluster: use database entity in docs
---
Modified: src/modules/db_cluster/doc/db_cluster_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/90e96be7efab2a41417f3997fb06010…
Patch:
https://github.com/kamailio/kamailio/commit/90e96be7efab2a41417f3997fb06010…
---
diff --git a/src/modules/db_cluster/doc/db_cluster_admin.xml
b/src/modules/db_cluster/doc/db_cluster_admin.xml
index dd0bdef80f..eb1e8bc489 100644
--- a/src/modules/db_cluster/doc/db_cluster_admin.xml
+++ b/src/modules/db_cluster/doc/db_cluster_admin.xml
@@ -80,9 +80,9 @@
<programlisting format="linespecific">
...
modparam("db_cluster", "connection",
- "con1=>mysql://kamailio:kamailiorw@localhost/kamailio1")
+ "con1=>&defaultdb;1")
modparam("db_cluster", "connection",
- "con2=>mysql://kamailio:kamailiorw@localhost/kamailio2")
+ "con2=>&defaultdb;2")
...
</programlisting>
</example>
@@ -199,9 +199,9 @@ modparam("db_cluster", "max_query_length", 5)
<programlisting format="linespecific">
...
modparam("db_cluster", "connection",
- "c1=>mysql://kamailio:kamailiorw@localhost/kamailio1")
+ "c1=>&defaultdb;1")
modparam("db_cluster", "connection",
- "c2=>mysql://kamailio:kamailiorw@localhost/kamailio2")
+ "c2=>&defaultdb;2")
modparam("db_cluster", "cluster",
"k1=>c1=9r9p;c2=9r9p")
modparam("acc", "db_url", "cluster://k1")