Your connection string is probably wrong.
On Tue, 17 Sep 2019, 11:22 Shanawaj Khan, <[email protected]> wrote:
> Hi All,
>
> I am trying to save user location data in SQL database for restart
> persistency. I am setting parameters as
>
> modparam("usrloc", "db_url", "mysql://root:myuser@localhost/opensips")
> modparam("usrloc", "use_domain", 1)
> modparam("usrloc", "location_cluster", 1)
> modparam("usrloc", "cluster_mode", "federation-cachedb")
> modparam("usrloc", "restart_persistency", "load_from_sql")
> modparam("usrloc", "sql_write_mode", "write-back")
> modparam("usrloc", "cachedb_url", "mongodb://mydomain.com:
> myport/opensipsDB.userlocation")
>
> All other OpenSIPS functionalities are working fine but I am unable to
> find data in SQL database.
>
> Thanks & Regards,
> Shahnawaz
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users