Ok, I got it !! :)
First my mistake that is wrong define statement instead #!define WITH_MYSQL
i wrote #define WITH_MYSQL, then i saw problem with connection to database
and after good tea and break for that i saw this. I make mistake in
mod_param line where db_url is defined i used wrong password
Try with debug=3 in kamailio.cfg, there should be more debug messages
that may help.
Did you install mysql client and mysql client library from the debian
packages? Any changes to mysql server settings?
Cheers,
Daniel
On 17/02/2017 08:33, przeqpiciel wrote:
> My bad, It is true, Kamailio writes
My bad, It is true, Kamailio writes to /var/log/syslog. First what I saw is
error about not loaded db_mysql module because I make mistake with define
statement but I fix it. Now I have a problem with connection to database.
ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error
Hello,
On 16/02/2017 17:52, przeqpiciel wrote:
> Hi,
>
> I'm trying to setup dispatcher module to working with mysql database
> but when i put to kamailio.cfg below lines then kamailio wont starts.
>
> loadmodule "dispatcher.so"
> modparam("dispatcher", "db_url",
> "mysql://kamailioro:kamailioro@