[mythtv-users] mythtv cannot connect to database

Bill Meek keemllib at gmail.com
Fri Jul 10 05:32:36 UTC 2020


On 7/9/20 10:38 PM, George Bingham wrote:
> In mythtv-setup, I reset the IP Address to 127.0.0.1, so now the backend is
> connecting directly to the database?

No.

In mythtv-setup: General->Host Address Backend Setup->Primary IP Address/DNS Name
is typically set to the Private Network address of the backend. That way remote
frontends can connect to it. Setting it to the localhost prevents that.

Although usually the same address, the above isn't the address of the DB server. That's
what goes in config.xml. For a BE and combined FE/BE, the Host value in config.xml
should be localhost (unless the DB is served on another host.)

config.xml's Host value on a remote FE should be the hostname or IP of the host
with the DB.

Back in mythtv-setup, tale note of the "Listen on All IP Addresses" help text.
You want that checked.

-- 
Bill


More information about the mythtv-users mailing list