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.panizzon(a)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
______________________________________________________