[mythtv-users] cannot restore database

Bill Meek keemllib at gmail.com
Sat Feb 21 17:18:55 UTC 2015


On 02/21/2015 10:53 AM, UB40D wrote:
...
> I hate when they give you a relative path in the error message. Where the
> hell is that ./mythconverg/ it can't rmdir? Is it that it can't rmdir
> because it doesn't have permission to it, or because it's not there? If the
> latter, what's the bit of database that still exists when the script fails
> to create the database?
>
> find / -name mythconverg -print
>
> gives nothing (other than the usual annoying bunch of "permission denied"
> on /proc etc)

Because the directory is owned and only read/write by user mysql. If you
do a: sudo before the find, you'll see it. Or, the following will tell
you where it is:

     $ cd /etc/mysql;grep datadir my.cnf conf.d/*

       my.cnf:datadir = /var/lib/mysql

-- 
Bill


More information about the mythtv-users mailing list