Re: running mythtv-setup as myself?

Top Page

Reply to this message
Author: Ariel
Date:  
To: Jon N
CC: dmo-discussion
Subject: Re: running mythtv-setup as myself?

On Tue, 4 Feb 2014, Jon N wrote:

> On Tue, Feb 4, 2014 at 7:32 PM, Ariel <asmarillat@???> wrote:
>>
>> On Tue, 4 Feb 2014, Jon N wrote:
>>
>>> it can not access the database
>>
>>
>> Check the file .mythtv/config,xml it has the database host, username, and
>> password in it.
>>
>> Use the mythfrontend program to set it.


> Check, check and check. Or at least it has the right hostname,
> 'mythtv' as user name and the same password as the setup on my old
> computer, so I would guess it's the default. I was thrown off a
> little by the <localhostname> under <configuration> which I at first
> changed to my hostname.


I have <LocalHostName>my-unique-identifier-goes-here</LocalHostName> so
it's probably not important.

I moved my config.xml out of the way and got exactly the same symptoms as
you describe, so it's definitely this file.

Try:

mysql --user=username --password=password --host=hostname databasename

Copy in exactly the values from the Database section of the config file
and make sure it can connect - do it from the machine where you run
mythtv-setup.

If that works, but mythtv-setup doesn't, then use strace and see if it's
actually opening the config.xml file. Easiest way it to first run: script,
then strace mythtv-frontend. Exit, so it closes script, then grep though
the typescript looking for config.xml.

     -Ariel