<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Apr 26, 2016 at 1:51 PM Damian <<a href="mailto:myth@surr.co.uk">myth@surr.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Everyone,<br>
<br>
I've got the shiny new Xubuntu 16.04 freshly installed on all of my<br>
machines. I'm just starting to add Mythbuntu backend onto the server<br>
machine tonight, and I'm having problems already.<br>
<br>
The backend can't connect to mysql.<br>
<br>
I can log in as root ...<br>
mysql -u root -p<br>
... gets me in fine.<br>
<br>
I can log in as mythtv ...<br>
mysql -u mythtv -p<br>
... gets me in fine.<br>
<br>
However, this ...<br>
mysql -u mythtv -p -h 192.168.0.2<br>
... responds with:<br>
ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.2' (111)<br>
<br>
I don't understand this. Why can I not log in when I specify the<br>
computer's own IP address?<br>
<br>
ifconfig confirms that "inet addr:192.168.0.2"<br>
<br>
I just checked, and I can log in with " mysql -u mythtv -p -h<br>
127.0.0.1". It's just adding the real IP address that's not working.<br>
<br>
I assume this is the source of the problem. Any idea what's causing this?<br>
<br>
Thanks,<br>
Damian<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a></blockquote><div><br></div><div>Check is mysql is listening on that IP</div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">'netstat -tulpn | grep 3306'</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">If not, then take a look in</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">/etc/mysql/conf.d/mythtv.cnf and see what bind-address is set to.  </span></div></div></div><div dir="ltr">-- <br></div><div dir="ltr">Thomas Mashos</div>