<div dir="ltr"><div>/Hi</div><div><br></div><div>I had found the file in the meantime, in this case /etc/default/mediator I think? The contents look fine. The mediator.tt2 file also looks correct as far as I can see. And yes :-) I am having fun!<br></div><div><br></div><div><br>RUN_MEDIATOR="yes"<br><br>PIDFILE="/var/run/mediator.pid"<br>FORK="yes"<br>INTERVAL="10"<br>SOURCE_HOST="localhost"<br>SOURCE_PORT="3306"<br>SOURCE_USER="kamailio"<br>SOURCE_PASS='fmepWPtkisz7WvvoEouR'<br>SOURCE_DB="kamailio"<br>DEST_HOST="localhost"<br>DEST_PORT="3306"<br>DEST_USER="mediator"<br>DEST_PASS='wFTN34Xnoeyzae3yEzyv'<br>DEST_DB="accounting"<br>PROV_HOST="localhost"<br>PROV_PORT="3306"<br>PROV_USER="mediator"<br>PROV_PASS='wFTN34Xnoeyzae3yEzyv'<br>PROV_DB="provisioning"<br>STATS_DB="stats"<br>STATS_HOST="localhost"<br>STATS_PORT="3306"<br>STATS_USER="mediator"<br>STATS_PASS="wFTN34Xnoeyzae3yEzyv"<br>STATS_PERIOD="1"<br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 21, 2018 at 10:54 AM, Alex Lutay <span dir="ltr"><<a href="mailto:alutay@sipwise.com" target="_blank">alutay@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Correct. The default MySQL port is 3306.<br>
<br>
You can check mediator config to find the option with port 0:<br>
> grep port /etc/ngcp-mediator/ngcp-<wbr>mediator.conf<br>
<br>
later you can check ngcpcfg to find which YML options is missing for you<br>
> /etc/ngcp-config/templates/<wbr>etc/ngcp-mediator/ngcp-<wbr>mediator.conf.tt2<br>
Also ensure you have no customtt file there.<br>
<br>
Ensure your YML file has all the necessary values.<br>
<br>
BTW, modern releases have ability to validate your YML config:<br>
> ngcpcfg --validate check<br>
<br>
Have fun!<br>
<span class="im HOEnZb"><br>
On 08/20/2018 08:34 PM, qabane me wrote:<br>
> Ok the grants are ok seemingly but the port is wrong:<br>
> <br>
> Aug 20 20:16:10 sipwise mediator[20666]: STATS database<br>
> host='localhost', port='0', user='mediator', name='stats'<br>
> <br>
> that should be port 3306 surely?<br>
> <br>
> I have checked the constants.yml file which only has references to port<br>
> 3306 as far as I can see?<br>
</span><div class="HOEnZb"><div class="h5">-- <br>
Alex Lutay<br>
______________________________<wbr>_________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/<wbr>listinfo/spce-user</a><br>
</div></div></blockquote></div><br></div>