Check DB connectivity via command line, using jdbc bundled with the SWS installer.