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.
#!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)