<div dir="ltr">Hi List,<div><br></div><div>i updated one of my testing kamailios from 5.2.x to latest 5.3.x.</div><div>After restarting the process, i got an mysql error that the server "kamailio" is not found.</div><div><br></div><div>I use the config-feature of my.cnf config-group names within the kamailio.cfg<br>I can start my kamailio 5.3.x installation with "normal username:password@host" definitions for DBURL.</div><div><br></div><div>Did anyone have the same issue?<br><br><br><div> 0(19625) ERROR: db_mysql [km_my_con.c:139]: db_mysql_new_connection(): driver error: Can't connect to MySQL server on 'kamailio' (4)<br> 0(19625) ERROR: <core> [db.c:319]: db_do_init2(): could not add connection to the pool<br> 0(19625) ERROR: dialplan [dp_db.c:179]: dp_connect_db(): unable to connect to the database<br> 0(19625) ERROR: dialplan [dialplan.c:191]: mod_init(): could not initialize data<br> 0(19625) ERROR: <core> [core/sr_module.c:850]: init_mod(): Error while initializing module dialplan (/usr/lib64/kamailio/modules/dialplan.so)<br>ERROR: error while initializing modules<br><br><br>from my kamailio.cfg i defined the DBURL like this:</div><div><br># Use /etc/my.cnf.d/kamailio.cnf to store credentials<br># within a mysql-db-group<br>#!define DBURL "mysql://[kamailio]/kamailio"<br><br>and special modules can use it like this (or via DBURL)<br>modparam("sqlops", "sqlcon", "cb=>mysql://[kamailio]/kamailio")<br><br>cat /etc/my.cnf.d/kamailio.cnf</div><div><br># MySQL configuration group for kamailio<br>[kamailio]<br>user=kamailio<br>password="kamailiorw"<br>host=172.20.100.22<br><br><br>rpm -qa | grep kam<br>kamailio-dialplan-5.3.0-13.1.x86_64<br>kamailio-websocket-5.3.0-13.1.x86_64<br>kamailio-jansson-5.3.0-13.1.x86_64<br>kamailio-mysql-5.3.0-13.1.x86_64<br>kamailio-tls-5.3.0-13.1.x86_64<br>kamailio-ims-5.3.0-13.1.x86_64<br>kamailio-statsd-5.3.0-13.1.x86_64<br>kamailio-5.3.0-13.1.x86_64<br>kamailio-redis-5.3.0-13.1.x86_64<br><div><br></div><div> cat /etc/redhat-release<br>CentOS Linux release 7.6.1810 (Core)<br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Cheers<br>*Karsten Horsmann*<br></div></div></div></div>