How to run site locally after downloading database

How to run site locally after downloading database

error code: 523