[mythtv-users] MythTV Install

Hika van den Hoven hikavdh at gmail.com
Sun Sep 7 22:55:55 UTC 2014


Hoi Richard,

Monday, September 8, 2014, 12:31:21 AM, you wrote:

> Thanks. I am learning.
> Do I need to create a password for the db when installing MythTV or should I leave it blank?
> How do I reconnect the frontend to the back end if the error pops up again?
> On Sep 7, 2014 5:51 PM, "Hika van den Hoven" <hikavdh at gmail.com> wrote:

> Hoi Richard,
>  
>  Sunday, September 7, 2014, 11:42:47 PM, you wrote:
>  
 >> When I purge MythTV, does it leave files like that behind? Is the database purged, as well?
 >> When I did a clean install if Ubuntu and then MythTV, it would ask
 >> me to create a db password or leave it blank. Should I leave it blank or enter mythtv?
 >> I will get you the info when I return home.
 >> On Sep 7, 2014 4:36 PM, "Mike Perkins"
 >> <mikep at randomtraveller.org.uk> wrote:
>  
 >> On 07/09/14 20:57, Richard Brook wrote:
 >>
 >>  I did this At my home yesterday and today. I do not need to preserve any
 >>  directories since I only watch live TV or record, watch once, and erase.
 >>
 >>  The install used to inform me that I needed to be added to a group. I ran a
 >>  grep command to see if I was listed in the group. I was.
 >>
 >>  I read online that it as a good idea to create the db password MythTV,
 >>  during install.
 >>
 >>
>   (Please don't top post.)
 >>
 >>  Debian and Ubuntu have a quirk that when you install mythtv, the
 >> database 'mythconverg' is created with a randomised password. This
 >> is supposed to be a security measure.
 >>
 >>  To find out what password was created, go to the home directory of
 >> the mythtv user (usually 'mythtv') and look at the
 >> /home/mythtv/.mythtv/config.xml file. You should find out what password was created in there.
 >>
 >>  It used to be the case that you would have to grant extra
 >> permissions on the database to get things to function. If you are
 >> using Debian or Unbuntu flavours, that should no longer be necessary.
 >>
 >>  --
 >>
 >>  Mike Perkins
 >>
 >>
>  
>  If you don't have any other mysql databases you could purge that too
>  and reinstall or simpler dump the mythconverg database. You possibly
>  now still have the database from your first install together with your
>  second myth install.
>  
>  Tot mails,
>    Hika                            mailto:hikavdh at gmail.com
>  
Please put your replies at the bottom!

According to Mike a randomised password is automatically generated,
but you say it asks you for one.
I would suggest that you give a password when asked and that you both
in ~/.mythtv/config.xml and in mysql check if it is actually that
password BEFORE running mythtv-setup or mythbackend. If you start
mythbackend the default way, it IS run under the user mythtv.
Mike named /home/mythtv/.mythtv/config.xml assuming you run as user
mythtv. If you run as another user make sure that .mythtv/config.xml
is present in that home directory and contains the right information.
If you run both back and frontend on the same machine and do not plan
to run a frontend on another machine you can use localhost as hostname
else use the ip-adress or, if you have a stable dns, the hostname.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list