Could you install MySQL 4.1 and then upgrade it?  Do you have any other backups of the DB?<br><br>- Jamie<br><br><div><span class="gmail_quote">On 2/10/07, <b class="gmail_sendername">Matt Morgan</b> <<a href="mailto:minxmertzmomo@gmail.com">
minxmertzmomo@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">My home server crashed recently. Some electrical problem that shorted
<br>the motherboard. The drives are fine, and I was able to recover files<br>from them. But I can't figure out how to restore the mysql databases<br>from the files in /var/lib/mysql.<br><br>I think what I'm looking for is some mysql equivalent to MS SQL
<br>Server's "attach database" function. I don't think there is such a<br>thing, or google and this list's archives might have helped.<br><br>What I had was a Centos 4.2 server running mysql 4.1, I think. I only
<br>have one database that I need to restore. Since I can't bring that<br>server up any more, I tried copying that db's data dir from the Centos<br>disks to my Fedora Core 5 desktop. If I put that data dir in<br>/var/lib/mysql on the Fedora Core 5 machine, mysql seems to recognize
<br>the DB but I can't really access it.<br><br>Part of the problem may well be the shift from mysql 4.1 to 5 (mysql<br>version in FC5); I don't know mysql well enough to know.<br><br>What should I do to get this database back up? I only need to get it
<br>working well enough to dump it.<br><br>Thanks,<br>Matt<br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">
https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br><br clear="all"><br>-- <br>Jamie Bohr