warning message if no connection to database