[OpenSIPS-Users] Username in DB URL

Olle Frimanson olle at zaark.com
Mon Feb 5 13:08:58 EST 2018


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

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


More information about the Users mailing list