Yes, correct, my socket address is  /var/lib/mysql/mysql.sock but kamailio 
still trying to connect to /run/mysqld/mysqld.sock


> 18 янв. 2024 г., в 13:56, mohsen khashei via sr-users 
> <sr-users@lists.kamailio.org> написал(а):
> 
> As you say your socket address is /var/lib/mysql/mysql.sock not 
> /run/mysqld/mysql.sock
> 
> On Thu, Jan 18, 2024, 15:23 iglov via sr-users <sr-users@lists.kamailio.org 
> <mailto:sr-users@lists.kamailio.org>> wrote:
>> Hey Benoit! Thanx 4 attention!
>> 
>> Yep, I thought so too and the first thing I did was check all my configs. 
>> So, I have only one /etc/mysql/my.cnf in whole OS with
>> [mysqld]
>> socket = /var/lib/mysql/mysql.sock
>> 
>> [client]
>> socket = /var/lib/mysql/mysql.sock
>> 
>> I even tried to find this like that: grep -rH mysqld /
>> So, why Kamailio despite everything try to connect with 
>> /run/mysqld/mysqld.sock ? And if I defined ‘localhost’ why it use local 
>> socket? What if I want it to use network?
>> I can’t even find default settings in kamailio sources :( It makes me crazy 
>> :(
>> 
>> 
>> > 18 янв. 2024 г., в 12:18, Benoit Panizzon <benoit.paniz...@imp.ch 
>> > <mailto:benoit.paniz...@imp.ch>> написал(а):
>> > 
>> > Hi
>> > 
>> > Just a guess:
>> > 
>> > https://www.kamailio.org/docs/modules/devel/modules/sqlops.html#idm85
>> > 
>> > If you define 'localhost' then the default socket (probably somewhere
>> > in your MySQL config) ist taken.
>> > 
>> > Mit freundlichen Grüssen
>> > 
>> > -Benoît Panizzon-
>> > -- 
>> > I m p r o W a r e   A G    -    Leiter Commerce Kunden
>> > ______________________________________________________
>> > 
>> > Zurlindenstrasse 29             Tel  +41 61 826 93 00
>> > CH-4133 Pratteln                Fax  +41 61 826 93 01
>> > Schweiz                         Web  http://www.imp.ch <http://www.imp.ch/>
>> > ______________________________________________________
>> 
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions
>> To unsubscribe send an email to sr-users-le...@lists.kamailio.org 
>> <mailto: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