user3372: I can't run Bitcoin-Qt 0.80 on Mac OS X 10.8 any more.
It starts up then says "System Error: Database Corrupted". I then click OK, and the program "quits unexpectedly"
How do I  start again without losing my wallet. Is it just the wallet.dat file that I need to keep, or others as well if I reinstall? I have encrypted the wallet if that makes any difference  to the files I need to keep.
There are lots of BC in the wallet. I can't afford to lose them!!
Is there another program I can use just to open the wallet? 

user4394: I had the same issue. What i did is:

goto /library/application support/bitcoin/blocks
renamed the index folder to index1 
started bitcoin-qt again

The application started reindexing again but my wallet keys are still there.

user4358: You can safely delete any Bitcoin-qt files as long as you let the wallet.dat file stay.

user153: Joric's fork of pywallet can read a wallet.dat, decrypt it with your pass phrase and then you can export the keys.  But if it is corrupted and Bitcoin-Qt can't read it then pywallet may fare no better.
Doesn't hurt to give it a try.

3372: <p>I can't run Bitcoin-Qt 0.80 on Mac OS X 10.8 any more.</p>

<p>It starts up then says "System Error: Database Corrupted". I then click OK, and the program "quits unexpectedly"</p>

<p>How do I  start again without losing my wallet. Is it just the wallet.dat file that I need to keep, or others as well if I reinstall? I have encrypted the wallet if that makes any difference  to the files I need to keep.</p>

<p>There are lots of BC in the wallet. I can't afford to lose them!!</p>

<p>Is there another program I can use just to open the wallet? </p>
 4394: <p>I had the same issue. What i did is:</p>

<ul>
<li>goto <code>/library/application support/bitcoin/blocks</code></li>
<li>renamed the <code>index</code> folder to <code>index1</code> </li>
<li>started bitcoin-qt again</li>
</ul>

<p>The application started reindexing again but my wallet keys are still there.</p>
 4358: <p>You can safely delete any Bitcoin-qt files as long as you let the <code>wallet.dat</code> file stay.</p>
 153: <p><a href="https://github.com/joric/pywallet" rel="nofollow">Joric's fork of pywallet</a> can read a wallet.dat, decrypt it with your pass phrase and then you can export the keys.  But if it is corrupted and Bitcoin-Qt can't read it then pywallet may fare no better.</p>

<p>Doesn't hurt to give it a try.</p>
