Create connection with database