[mythtv-users] Moving my MythDB

Stephen Worthington stephen_agent at jsw.gen.nz
Wed May 11 04:18:16 UTC 2022


On Tue, 10 May 2022 21:04:27 -0600, you wrote:

>Does anyone store their Myth DB somewhere other than where Myth puts it?
>
>How would I do that?

The location of the mythconverg database is determined by MySQL or
MariaDB, not MythTV.  As far as I know, neither has an option to store
the databases anywhere other than one location - if you want to move
the files somewhere else, you have to move the entire set of
databases, not just the mythconverg database.  The location for Ubuntu
is /var/lib/mysql.  This location is set by the "datadir" option in
the config files under /etc/mysql, and there are various pages on the
web that can tell you how to move the entire directory.  You may need
to also change apparmor settings if you move it.

It is possible to store the database on a completely different machine
- MythTV is happy to use a remote database server.

So why do you want to move the database?


More information about the mythtv-users mailing list