Unable to connect to database back-end