[OpenSIPS-Users] Username in DB URL

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Feb 6 12:20:29 EST 2018

Hi Olle,

As Alex said there is no work around for this for now. Still the problem 
can be addressed by coding and it is not so hard to do. The question is 
what is the best/proper type of escaping to be supported into the URL - 
I guess the %xy is the proper one for an URL, as per RFC 1738 ).

Have you installed opensips form sources ?


Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
OpenSIPS Summit 2018

On 02/05/2018 08:08 PM, Olle Frimanson wrote:
> Hi, we are experiencing an issue with a roleout in Microsoft Azure, 
> where the DB username contains a ”@” sign. This seems to be the 
> default in MySQL in Azure.  Is there anyway to escape this the URL for 
> the clusterer module?
> If you use mysql client it’s typical something like
> Mysql -h host.mysql.azure.com -u opensips at host -popensips opensips, 
> which works fine
> In clustererar where we use this this translates to:
> modparam("clusterer", 
> "db_url","mysql://opensips@host:opensips@host.mysql.azure.com/opensips")
> which fails
> Any ideas on a workaround on this?
> BR / Olle
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180206/cc70602a/attachment.html>

More information about the Users mailing list