[OpenSIPS-Users] MySQL modparam with domain in username issue

Frank Lee Frank at wtild.com
Mon Oct 7 14:18:27 EDT 2019


Hello,

 

In the config file for "Virtual DB",  what is the correct syntax if I have a
"domain" after the username, e.g.:

 

modparam("db_virtual",
"db_urls","mysql://xxx@yyy:zzz@abc.mysql.database.azure.com:3306/opensips")

 

so when I use this syntax, opensips keep thinking that the host name is
"yyy", but the host name is abc.mysql.datbase.azure, not yyy.

 

But in MySQL Azure, it requires to have the @yyy domain after the username
or I can not login correctly.

 

Thank you!

 

 

Frank 

 

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


More information about the Users mailing list