Testing connection to csw database.