How to upgrade Grafana from 5.4.3 to 8.4.7?

Hi Team,

My current Grafana instance is running on 5.4.3 on Redhat 7.7 and I would like to know pre-requisites and steps to upgrade to 8.4.7. Some of my questions are listed below.

  1. Do we need to follow an upgrade path (sequential upgrade) to get to 8.4.7? if yes what is the sequence we need to follow.

  2. Are there any dependencies with respect to Database?

Please let me know.

Thank you.

Kapil