Check server is running before connecting the cli
List dbs
Info and list db