Create database directory.