Moving the SolidWorks Database

What is the process to move an existing SolidWorks Database from SQL  Server2019 to SQL Server 2022?

How to ensure the SolidWorks PDM Application server is connected correctly to the new SQL Server 2022 database?