[mythtv-users] Export db from dead system

Tom Dexter digitalaudiorock at gmail.com
Wed Jul 7 04:14:50 UTC 2010

On Tue, Jul 6, 2010 at 11:37 PM, Nick Rout <nick.rout at gmail.com> wrote:
> On Wed, Jul 7, 2010 at 3:33 PM, mythtv at blandford.net
> <mythtv at blandford.net> wrote:
>> On 07/06/2010 06:18 PM, Kevin Plew wrote:
>>> Folks- I'm having an issue with grub2 and have decided to rebuild the
>>> system. I can access the files on the hard drive via the live cd and
>>> can chroot my old system.
>>> Is there any way to export my database before I rebuild?
>> You can also just copy over the database without exporting it.
>> Just copy the files from /var/lib/mysql to the new server.  This assumes the
>> db isn't running on the new server.
>> Then start up mysql.
>> Michael
> *Provided* that you will be running the same version of mysql!!

To tell you the truth, in all my years working with MySQL (as a
programmer and with stuff like MythTV) at least when it comes to
differing versions of MySQL 5.0 and MyISAM tables, I've never had a
problem porting file tables as-is between versions, even between
Windows and Linux...though I know that in theory it's not supposed to
be a good idea.

InnoDB may be a different story.


More information about the mythtv-users mailing list