create database directory