<div dir="ltr">Hi ,<div><br></div><div>opensips-cli -x diagnose sql<br>ERROR: Failed to subscribe for JSON-RPC events<br>ERROR: Is the event_stream.so OpenSIPS module loaded?</div><div><br></div><div>event_stream.so module is loaded by default . What else I should do to get this output . Nothing I am getting from opensips-cli document . <br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><b><i><br></i></b></div><div><br></div><div dir="ltr"><b><i><br></i></b></div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 20, 2020 at 5:42 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com">spanda@3clogic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks a lot . <div><br></div><div>That works . </div><div><br></div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 20, 2020 at 4:55 PM Liviu Chircu <<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>On 20.11.2020 13:15, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite">
File "/usr/lib/python3/dist-packages/MySQLdb/connections.py", line
204, in __init__<br>
super(Connection, self).__init__(*args, **kwargs2)<br>
_mysql_exceptions.OperationalError: (1049, "Unknown database
'opensips'")</blockquote>
<p><tt>I think the problem may be related to this setting:</tt><br>
</p>
<p><i> database_admin_url:
mysql://root:cccl0g1c@localhost/opensips</i></p>
<p><tt>Try to remove the trailing "/opensips" part of the URL,
because the database name is given by the "database_name"
setting.</tt></p>
<p><tt>If it fixes the issue, we should push a commit which does
this automatically.</tt><br>
</p>
<pre cols="72">--
Liviu Chircu
<a href="http://www.twitter.com/liviuchircu" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</div>
</blockquote></div>
</blockquote></div>