Browse code

db_cluster: docs - more suggestive db url examples

(cherry picked from commit 9b1a3a6b9a3e6a24d646e62ba74811cfdf553dae)
(cherry picked from commit aa759c12aca3c8cdee11fcd383a2e565baef23be)
(cherry picked from commit 10fb56e3e6d372499d187ad19e2f1f3fcd0e0607)

Daniel-Constantin Mierla authored on 15/06/2022 09:29:33
Showing 1 changed files
... ...
@@ -204,9 +204,10 @@ modparam("db_cluster", "max_query_length", 5)
204 204
 		<programlisting format="linespecific">
205 205
 ...
206 206
 modparam("db_cluster", "connection",
207
-             "c1=&gt;&defaultdb;1")
207
+             "c1=&gt;mysql://kamailio:kamailiorw@localhost/kamailio1")
208 208
 modparam("db_cluster", "connection",
209
-             "c2=&gt;&defaultdb;2")
209
+             "c2=&gt;mysql://kamailio:kamailiorw@remotehost/kamailio2")
210
+
210 211
 modparam("db_cluster", "cluster", "k1=&gt;c1=9r9p;c2=9r9p")
211 212
 
212 213
 modparam("acc", "db_url", "cluster://k1")