oh! , just sql:// ? i was trying with sql://localhost/my_database :) i will try that, thanks bogdan
2013/12/10 Bogdan-Andrei Iancu <[email protected]> > Hi Mike, > > You need first to configure the cachedb_sql, to tell it where the SQL db > is: > modparam("cachedb_sql", "db_url","mysql://localhost/my_database"); > > Then, in the dialog module, you need to point the noSQL connector to the > previous module: > modparam("dialog", "cachedb_url", "sql://") > > Give it a try and let me know. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > > On 07.12.2013 17:03, Mike Tesliuk wrote: > > Hello Guys, > > I try to implement (for test purpose) the cachedb_sql but i cant use this > on dialog module, i start the module , i have the database , but when i > call over dialog i put the cachedb_url as "sql://localhost/opensips" (im > using sql because is what beeing exported on debug ) > > Dec 5 23:41:47 [5953] DBG:core:register_cachedb: registered cachedb > system [sql] > Dec 5 23:41:47 [5953] DBG:core:parse_cachedb_url: parsing [sql://] > Dec 5 23:41:47 [5953] DBG:core:parse_cachedb_url: Just scheme, no actual > url > > so, when i try to call this on dialog i receive > > Dec 5 23:41:47 [5953] ERROR:cachedb_sql:dbcache_new_connection: bogus url > for local cachedb > Dec 5 23:41:47 [5953] ERROR:core:cachedb_do_init: failed to open > connection > Dec 5 23:41:47 [5953] ERROR:dialog:init_cachedb_utils: cannot connect to > cachedb_url sql://localhost/cachedb > Dec 5 23:41:47 [5953] ERROR:dialog:mod_init: cannot init cachedb utils > Dec 5 23:41:47 [5953] ERROR:core:init_mod: failed to initialize module > dialog > Dec 5 23:41:47 [5953] ERROR:core:main: error while initializing modules > > > > so, there is not possible to use cachedb_sql with dialog or im doing > something wrong ? > > > > > _______________________________________________ > Users mailing > [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
