Module: kamailio
Branch: master
Commit: 9b1a3a6b9a3e6a24d646e62ba74811cfdf553dae
URL:
https://github.com/kamailio/kamailio/commit/9b1a3a6b9a3e6a24d646e62ba74811c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-06-15T11:29:33+02:00
db_cluster: docs - more suggestive db url examples
---
Modified: src/modules/db_cluster/doc/db_cluster_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/9b1a3a6b9a3e6a24d646e62ba74811c…
Patch:
https://github.com/kamailio/kamailio/commit/9b1a3a6b9a3e6a24d646e62ba74811c…
---
diff --git a/src/modules/db_cluster/doc/db_cluster_admin.xml
b/src/modules/db_cluster/doc/db_cluster_admin.xml
index 17e812f18f2..247ac178d48 100644
--- a/src/modules/db_cluster/doc/db_cluster_admin.xml
+++ b/src/modules/db_cluster/doc/db_cluster_admin.xml
@@ -204,9 +204,10 @@ modparam("db_cluster", "max_query_length", 5)
<programlisting format="linespecific">
...
modparam("db_cluster", "connection",
- "c1=>&defaultdb;1")
+ "c1=>mysql://kamailio:kamailiorw@localhost/kamailio1")
modparam("db_cluster", "connection",
- "c2=>&defaultdb;2")
+ "c2=>mysql://kamailio:kamailiorw@remotehost/kamailio2")
+
modparam("db_cluster", "cluster",
"k1=>c1=9r9p;c2=9r9p")
modparam("acc", "db_url", "cluster://k1")