[mythtv-users] Config data not saving in backend

Calvin Dodge caldodge at gmail.com
Tue Jun 5 23:10:12 UTC 2007


On 6/5/07, Ryan B Elliott <rbelliott at raytheon.com> wrote:
> The Video Sources info is not being saved either.  It must be a problem with
> the database.

Is the database on the same system as the mythtv backend? If not, has
Mysql been configured to accept the mythtv user from another system?

What happens if you login to the system with the mythtv backend, and
run the following command line? (assuming you accepted the default
name and password when creating the database)

mysql   -h DBHOST -u mythtv --password=mythtv mythconverg

where DBHOST is the name or IP address of the computer containing the database.

> I know that my user account is supposed to be in a special group, so I'll
> check that, then

That shouldn't be required for mysql access - I think that's so the
backend can run as a non-privileged user, and still access the video
and audio devices. Since my system has no direct connection to the
Internet, and it was a pain getting the backend to run reliably as a
non-privileged user (I'd edit the /etc/init.d/mythbackend script, but
it would be overwritten every time the mythtv-backend package was
updated), I have it running as root.

> I'll go figure out how to access the mysql database (I dutifully wrote down
> the generated
> password, so it shouldn't be too hard).  Can I assume that the database is
> running on the
> standard port 3350?

It should be.

>  Once I get in, I'm not sure what I should look for that
> may be wrong
> with it.  If the database structure is documented somewhere, I'll compare it
> to the spec,

Since you can't save video source info either, but mythtv-setup is
apparently starting up without a problem, my suspicion is that you
have a mythconverg database, but haven't actually run the script to
create the tables in it.

Calvin


More information about the mythtv-users mailing list