db directory changed to ~/