[mythtv-users] Frontend can't connect to database

Richard Shaw hobbes1069 at gmail.com
Thu Apr 9 12:11:01 UTC 2020


On Thu, Apr 9, 2020 at 3:50 AM Doug Lytle <support at drdos.info> wrote:

> On 4/9/20 1:47 AM, Stephen Worthington wrote:
>
> Where is the definition of the name "calvin"?  Do you run your own DNS
> server?  Is it in /etc/hosts?  What is it set to?
>
>
> My thoughts exactly, check your /etc/hosts
>

I was very tired working on this last night and meant to mention a few
other things but to answer the question at hand:

$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4
localhost4.localdomain4
::1         localhost localhost.localdomain localhost6
localhost6.localdomain6

I use my Ubiquity USG for internal DNS and it works fine (as evidenced by
the manual mysql command) and I can ssh to it by hostname as well.
Additionally I've tried by IP address and it fails as well.

The WEIRD parts is I quite plainly have a host specified in config.xml but
it always attempts to connect to localhost/127.0.0.1:

2020-04-09 07:08:34.071103 I [26896/26896] CoreContext
mythcontext.cpp:885:TestDBconnection  Start up testing connections. DB
127.0.0.1, BE , attempt 0, status dbAwake, Delay: 2000
2020-04-09 07:08:35.073249 I [26896/26896] CoreContext
mythcontext.cpp:885:TestDBconnection  Start up testing connections. DB
127.0.0.1, BE , attempt 1, status dbAwake, Delay: 2000

Also, I can enter setup from the mythfrontend and plug in the hostname
"calvin" and it finds the backend, but upon pressing ENTER it still can't
connect.

So why is mythfrontend ignoring ~/.mythtv/config.xml?

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200409/74956c0a/attachment.htm>


More information about the mythtv-users mailing list