Skip to content

install Magento 2.4.7 with a database 2.4.5

We are working with Magento version 2.4.5 and want a clean (new) installation of the latest version 2.4.7 while retaining our current database with 2.4.5, of course.
What is the most sensible sequence:

  1. Install a new (clean) Magento version 2.4.5 with the current database and then migrate to 2.4.7?
    or
  2. Install a new (clean) Magento version 2.4.7 and migrate the database to the new environment. (Do I need a special script for that)?