Missing the database

For discussion related to MythTV which doesn't belong in another forum.

Moderator: Forum Moderators

Post Reply
NatalieEGH
Newcomer
Posts: 1
Joined: Wed Mar 01, 2023 4:07 am
United States of America

Missing the database

Post by NatalieEGH »

OS Ubuntu Linux 22.04.04
I installed using "Ubuntu Software" MythTV front end and Mythtv back end.
/usr/share/mythtv exists.
/usr/share/mythtv/database does not exist.
I attempted the sudo apt-get and install commands.
database directory or file (not sure what it should be) still is not present.


Where can I just download the directory/file to manually put it in the correct place?

I am wanting to finally say goodbye to Windows but Windows Media Center I use a lot. If I can finally get a DVR and viewer working, I can stop returning to Windows.
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Missing the database

Post by paulh »

Hi NatalieEGH. Welcome to the forum :)

MythTV uses a MySQL database which should have been created as part of the install process under Ubuntu. You can check it got installed if you run in a terminal

Code: Select all

apt-cache policy mythtv-database
You should see a line like this which tells you it is installed and which version of the package you have.

Code: Select all

Installed: 2:34.0~mythqml.202302221552.69f2c1f64a~ubuntu22.04.1
If you tell us what problems you are having or what you are trying to do we may be able to help.
User avatar
bill6502
Developer
Posts: 2323
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Missing the database

Post by bill6502 »

I don't use the *buntu packages, but I wonder if installing just the backend and frontend packages misses others. Like mythtv-common or in this case, mythtv-database.

I'd install the mythtv package, which does the client and server.
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Missing the database

Post by paulh »

That's a good point there are two packages for the backend
mythtv-backend-master (backend with a local database)
mythtv-backend (backend needing a remote database)
Only the first one will install the database.

Installing the mythtv package is probably a better option for first time users since that will install everything you need for a combined frontend/backend setup.
To quote the package description
This package will install a complete MythTV client/server environment on a
single system. If you are intended on using this as your only MythTV machine,
and this machine is already configured as a desktop, this package will get you
up and running switfly.
User avatar
heyted
Senior
Posts: 301
Joined: Sun Jun 08, 2014 2:14 am
Location: South Florida
Contact:
United States of America

Re: Missing the database

Post by heyted »

For those folks using Mythbuntu Control Panel, selecting Primary Backend will install the MySQL software and create the database.

https://www.mythtv.org/wiki/Mythbuntu

Image
Ted | My blog
Post Reply