[mythtv-users] Locking Mysql database for backup

David Muench dave at wasteland.org
Fri Nov 12 18:17:47 UTC 2004


Try the --lock-all-tables or --lock-tables options to mysqldump. More is
at http://dev.mysql.com/doc/mysql/en/mysqldump.html.

Dave

> Does anyone know offhand how to lock a mysql database for backup? I'd like
> to cron a table dump, but I would like to lock the database before doing
> so.
> Any ideas?



More information about the mythtv-users mailing list