You can delete a database if it is not used by Automation Engine. If it is running, trying to delete it will trigger a warning.