[OpenSIPS-Users] sql_cacher with cachedb_local

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Sep 12 11:46:45 EDT 2019


HI Mehdi,

Do you get that error only when using it from startup_route ?

Also, try to change the cachedb_url to "local:///collection2"

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 8/30/19 10:12 AM, Mehdi Shirazi wrote:
> Hi
> Please help me configuring sql_cacher.
> I use Opensips 2.4.6 .
> modparam("cachedb_local", "cachedb_url", "local:group2:///collection2")
> modparam("sql_cacher", "cache_table",
> "id=st_caching
> db_url=mysql://opensips:1234ms@localhost/opensips
> cachedb_url=local:group2:///collection2
> table=STrig
> key=number
> columns=cause")
> startup_route {
>     xlog("The cause is $sql_cached_value(st_caching:cause:88443322)");
>     }
> in log:
> ERROR:sql_cacher:get_rld_vers_from_cache: Failed to get reload version 
> integer from cachedb
> ERROR:sql_cacher:pv_get_sql_cached_value: Error fetching from cachedb
>
> Regards
> M.Shirazi
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190912/ce94e747/attachment.html>


More information about the Users mailing list