<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Apr 18, 2018 at 7:55 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 18 Apr 2018 23:17:15 +0000, you wrote:<br>
<br>
>On Wed, Apr 18, 2018 at 5:20 PM John Pilkington <<a href="mailto:johnpilk222@gmail.com" target="_blank">johnpilk222@gmail.com</a>><br>
>wrote:<br>
><br>
>> On 18/04/18 21:38, Ashu Desai wrote:<br>
>><br>
>> > I did the following on my remote frontend:<br>
>> ><br>
>> > mysql -h backend_ip -D mythconverg -u mythtv -p<br>
>><br>
>> How about:<br>
>><br>
>> mysql -umythtv -pmythtv -h localhost mythconverg<br>
>><br>
><br>
>I don't understand this - why am I trying to get in from my backend box? It<br>
>already works. - the only thing not working is from the remote frontend.<br>
>Unless I am misunderstanding this?<br>
><br>
>Anyways - tried it and doesn't work (since i dont think there is mariadb on<br>
>the frontend)<br>
<br>
The default install for MySQL and MariaDB is to only bind to<br>
localhost. So you probably need to change the settings in /etc/mysql<br>
to allow binding of your external network interfaces. This command<br>
will show you what interfaces MySQL or MariaDB are bound to:<br>
<br>
netstat -lp | grep mysql<br>
<br>
Find all the "bind-address" lines in the config files and see what is<br>
uncommented:<br>
<br>
cd /etc/mysql<br>
grep -ir "bind-address" *<br>
<br>
If there is more than one that is not commented out, it can be<br>
difficult to work out which one is read last and is the one that<br>
works. To work out what order they are read in, you need to look at<br>
all the config files starting with /etc/mysql/my.cnf and find any<br>
"!includedir" lines. Config files are read from any included<br>
directory in alphabetical order at the time the "!includedir" line is<br>
read.<br>
<br>
You need to either change the bind-address line that works to:<br>
<br>
bind-address=::<br>
<br>
or add a new bind-address line that will be read after that one.<br>
<br>
A bind address of :: allows binding to all interfaces using IPv4 and<br>
IPv6. A bind address of 0.0.0.0 allows binding to all interfaces<br>
using IPv4 only.<br>
<br>
I recommend only having one uncommented "bind-address" line - comment<br>
out or delete the others.<br>
</blockquote><div><br></div><div>It didn't have any bind address - i just added one and it worked. </div><div><br></div><div>Now the next problem - the frontend runs extremely choppy. Never had this issue on the 0.27/fixes one. Same movies come as if watching via RDP!<br></div><div><br></div><div>I can post the required logs - i know there was a way I read earlier to get logs - enter something along with "mythfrontend -v" command..</div><div><br></div><div>(I hope this isn't a hardware issue - not sure if 0.29 takes more compute than the 0.27)</div><div><br></div><div><br></div></div></div>