Deleting everything except the wallet will not help recover from BDB errors.

Now that the wallet is the only thing in BDB any DB open errors must be
from the wallet itself-- so deleting everything else will not likely help.