<p></p>
<p dir="auto">The way database connector modules are designed require the database name to be provided as part of db connection url. There is a generic API that makes it possible to switch from mysql, to postgress, to sqlite or mongodb without changes in modules. sqlops also relies on this internal DB API, although it targets the use with SQL backends.</p>
<p dir="auto">In other words, making it specific to a use case of SQL proxy may require consistent change of code. Maybe you can leverage here a KEMI module and use extensions of Lua/Python/... to do the connections and queries you want in the script.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2950#issuecomment-976415439">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPP5NIT5VUCVRHVPW3UNNZ6NANCNFSM5IRXFDJQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZNXRWQ4WVY6MYXHDQ3UNNZ6NA5CNFSM5IRXFDJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHIZOVTY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2950#issuecomment-976415439",
"url": "https://github.com/kamailio/kamailio/issues/2950#issuecomment-976415439",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>