[mythtv-users] I can't connect to mythbackend from remote computer

curtlee curtlee2002 at gmail.com
Mon Mar 26 06:55:09 UTC 2007


On 3/25/07, Nick Morrott <knowledgejunkie at gmail.com> wrote:
>
> On 26/03/07, R. G. Newbury <newbury at mandamus.org> wrote:
> > curtlee wrote:
> > > On 3/24/07, Nick Morrott <knowledgejunkie at gmail.com> wrote:
> > >>
> > >> On 25/03/07, curtlee <curtlee2002 at gmail.com> wrote:
> > >>
> > >> > 2007-03-24 20:32:44.679 Connecting to backend server:
> > >> GeorgeDesktop:6543
> > >> > (try 1 of 5)
> > >> > 2007-03-24 20:32:44.680 Connection timed out.
> > >> >                         You probably should modify the Master
> Server
> > >> >                         settings in the setup program and set the
> > >> >                         proper IP address.
> > >>
> > >> On your master server, you need to change its IP address from
> > >> 127.0.0.1 to its actual IP address in mythtv-setup. The IP address is
> > >> stored in the database, and the remote frontend will look it up. If
> > >> it's set to localhost on the master machine, there is no way for the
> > >> remote frontend to connect to it.
> > >>
> > >>
> > >
> > >
> > > It's set to the correct ip address. I went step by step through the
> > > mythtv.org documentation. This is really haunting me. I just don't
> know
> > > what
> > > to do.
> >
> > You might check your ~/.mythtv/mysql.txt file. If the first line says:
> >
> > DBHostName=localhost
> >
> > then your local mysql client is trying to talk to the *local* mysqld
> > server... which does not have a mythconverg database....
>
> (For the archive) This does not apply to curtlee's situation, as the
> log posted earlier in the thread stated:
>
> 2007-03-24 20:32:35.892 Connected to database 'mythconverg' at host:
> 5.142.138.236
>
> This shows the frontend successfully connecting to the mythconverg on
> a real IP - the log would have stated something like (from my MFE
> log):
>
> 2007-03-19 11:43:05.826 Connected to database 'mythconverg' at host:
> localhost
>
> if mysql.txt file specified localhost as the DBHostName
>
> As curtlee reinstalled and has things working now, I guess we'll never
> know the exact reason for the connection problems.
>
> Nick
> --
> MythTV Official wiki:
> http://mythtv.org/wiki/
> MythTV users list archive:
> http://www.gossamer-threads.com/lists/mythtv/users
>
> "An investment in knowledge always pays the best interest." - Benjamin
> Franklin
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


I checked the ~/.mythtv/mysql.txt several times. They were the same as in
myth-setup. I really couldn't tell you what was wrong. I went in circle
checking and rechecking everything. My mysql.txt said DBHostName=GeorgeDesktop
as it does now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070326/ec2a7d68/attachment.htm 


More information about the mythtv-users mailing list