Module: kamailio
Branch: 5.6
Commit: aa759c12aca3c8cdee11fcd383a2e565baef23be
URL:
https://github.com/kamailio/kamailio/commit/aa759c12aca3c8cdee11fcd383a2e56…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-06-16T09:35:49+02:00
db_cluster: docs - more suggestive db url examples
(cherry picked from commit 9b1a3a6b9a3e6a24d646e62ba74811cfdf553dae)
---
Modified: src/modules/db_cluster/doc/db_cluster_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/aa759c12aca3c8cdee11fcd383a2e56…
Patch:
https://github.com/kamailio/kamailio/commit/aa759c12aca3c8cdee11fcd383a2e56…
---
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")