need to create database before connecting