[sr-dev] [kamailio] Failed to parse mysql connection uri, when '@' operator is added in password section (#169)

DEBOJIT KAKOTI notifications at github.com
Fri May 22 10:21:02 CEST 2015


I have added DBURL as
#!define DBURL "mysql://kamailio_test:kam@#sip@localhost/kamailio"
Where username is kamailio_test  and password is kam@#sip

So after the first '@' operator it is assuming it as host part which is not true in this case.

Error log:
'ERROR: db_mysql [km_my_con.c:114]: db_mysql_new_connection(): driver error: Unknown MySQL server host '#sip at localhost' (2)' 

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/169
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150522/cb871463/attachment.html>


More information about the sr-dev mailing list