Auto create database if not exist