Recovering from running out of space on / and losing MySQL connection information in Mythbackend
This problem was solved for me by the NZ MythTV list. Thanks all, I thought I should put the solution on here to help others.
I just tried to archive a recording on my Mythbuntu setup. The recording
was bigger than a DVD, so I canceled it. Then things started to go
funky with the Media Library showing no recordings and the Upcoming
Recordings missing. I restarted and MythTV couldn't connect to the database.
If I typed:
$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/
And the /var/run/mysqld directory doesn't seem to exist.
mythbuntu@
ls: cannot access mysql*: No such file or directory
I tried to reinstall mysql-server through synaptic, but got an error
about a subprocess that made me realise that the problem was MythArchive
leaving me with no free space on the root partition.
I have now cleared the space and MySQL seems to be much happier (starts
and mysqldump gives a sensibly-sized file). Unfortunately, I seem to
have broken MythTV's connection to the database in my fiddling. I assume
that I somehow need to change it so that it knows where to find the
MySQL installation and the name/pass of the database.
I have tried renaming the ~/mythtv/ folder, which I thought was where
the backend files were (as distinct from ~/mythbuntu/, where I thought
the frontend files were), but that didn't reset anything or make
anything ask me for the database details. If I run mythtv-setup, it
prompts me to close running processes, then asks me to run
mythfilldatabase, without doing anything in between.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Mythbuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Aaron Whitehouse
- Solved:
- Last query:
- Last reply: