Chapter4 Example12: changed database directory