get simple database connection working