VID-1007 Make sure to include the dbname in the output