Hey Henning! Thx 4 suggestion!

Are we talking about db_url somewhere in kamailio settings? Cuz refer by ur 
link there was a problem with local Drupal config, but guyz offered to globally 
change mysql settings to use ONLY network socket - I can’t do this.
If we are talking about kamailio settings that what I have there:

#!ifndef DBURL
#!define DBURL "mysql://kamailio:kamailiorw@localhost/kamailio"
#!endif

modparam("topos", "db_url", DBURL)
modparam("rtpengine", "db_url", DBURL)
modparam("acc", "db_url", DBURL)
modparam("usrloc", "db_url", DBURL)
modparam("auth_db", "db_url", DBURL)
modparam("permissions", "db_url", DBURL)
modparam("alias_db", "db_url", DBURL)
modparam("domain", "db_url", DBURL)
modparam("presence", "db_url", DBURL)
modparam("presence_xml", "db_url", DBURL)
modparam("uac", "reg_db_url", DBURL);
modparam("dispatcher", "db_url", DBURL);
modparam("acc", "db_url", DBURL)
modparam("usrloc", "db_url", DBURL)
modparam("auth_db", "db_url", DBURL)
modparam("permissions", "db_url", DBURL)
modparam("alias_db", "db_url", DBURL)
modparam("speeddial", "db_url", DBURL)
modparam("domain", "db_url", DBURL)
modparam("presence", "db_url", DBURL)
modparam("presence_xml", "db_url", DBURL)

Is there some db_url I should define?

> 18 янв. 2024 г., в 12:35, Henning Westerholt via sr-users 
> <sr-users@lists.kamailio.org> написал(а):
> 
> Hello,
> 
> just to double check, so you are setting a db_url? Maybe you need to change 
> the db_url, refer e.g. to this:
> https://serverfault.com/questions/337818/how-to-force-mysql-to-connect-by-tcp-instead-of-a-unix-socket
> 
> Cheers,
> 
> Henning
> 
>> -----Original Message-----
>> From: iglov via sr-users <sr-users@lists.kamailio.org>
>> Sent: Donnerstag, 18. Januar 2024 11:56
>> To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
>> Cc: iglov <ig...@avalon.land>
>> Subject: [SR-Users] Re: How to change uri for db_mysql ?
>> 
>> So, nobody knows where does he get this path from?
>> 
>>> 16 янв. 2024 г., в 15:33, iglov via sr-users <sr-users@lists.kamailio.org>
>> написал(а):
>>> 
>>> Sup guyz! On debian 12 i have kamailio 5.6.3 and when I try to use
>> db_mysql module I always get an error: kamailio[2842268]: ERROR: db_mysql
>> [km_my_con.c:163]: db_mysql_new_connection(): driver error: Can't connect
>> to local server through socket '/run/mysqld/mysqld.sock'
>>> 
>>> I have no idea where it finds this socket cuz I don’t have it and don’t 
>>> want to.
>> Where I can change it?
>>> __________________________________________________________
>>> Kamailio - Users Mailing List - Non Commercial Discussions To
>>> unsubscribe send an email to sr-users-le...@lists.kamailio.org
>>> Important: keep the mailing list in the recipients, do not reply only to the
>> sender!
>>> Edit mailing list options or unsubscribe:
>> 
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe
>> send an email to sr-users-le...@lists.kamailio.org
>> Important: keep the mailing list in the recipients, do not reply only to the
>> sender!
>> Edit mailing list options or unsubscribe:
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> To unsubscribe send an email to sr-users-le...@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to