You need to stop all services that are related to SharePoint Server and IIS on all SharePoint servers and expect the SharePoint environment to be not accessible during this process.
Here is a document you can follow for this process: Move all databases in SharePoint Server.
Another post of discussion that might be helpful: Best practices to migrate to SQL 2014 from SQL 2012 for SharePoint 2013.
If an Answer is helpful, please click "Accept Answer" and upvote it.
**Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. **