[mythtv-users] I broke my mythTV, help!
Bill Meek
keemllib at gmail.com
Wed Nov 7 22:26:47 UTC 2018
On 11/7/18 1:06 PM, Jonatan Lindblad wrote:
> Den 2018-11-07 kl. 18:32, skrev Douglas Peale:
>
>>>> Nov 6 20:41:57 Compromise mythbackend: mythbackend[7003]: N thread_unknown mythdirs.cpp:197 (InitializeMythDirs) Using
>>>> configuration directory = /home/mythtv/.mythtv
>
> <snip>
>
>> The username and password are correct in /user/home/mythtv/.mythtv/config.xml
>
> Do you really mean /user/home/mythtv/.mythtv/config.xml, with /user in the beginning? If you do, then you might have to set the environment variable MYTHCONFDIR to /user/home/mythtv/.mythtv.
>
> Jonatan
Good idea, and it's easily done in:/etc/mythtv/additional.args by creating a like like this
and starting the backend again:
MYTHCONFDIR=/user/home/mythtv/.mythtv
It would also be nice to see a fresh backend log. The last one (I believe)
also suggested a problem accessing config.xml. The backend was using
default values:
/// Load sensible connection defaults.
void DatabaseParams::LoadDefaults(void)
{
dbHostName = "localhost";
dbHostPing = true;
dbPort = 3306;
dbUserName = "mythtv";
dbPassword = "mythtv"; <----------------
dbName = "mythconverg";
dbType = "QMYSQL";
Nov 6 20:41:57 Compromise mythbackend: mythbackend[7003]: E CoreContext mythdbparams.cpp:39 (IsValid) DBHostName is not set in
config.xml
--
Bill
More information about the mythtv-users
mailing list