I have successfully migrated my WordPress site, but nothing is displayed

This means you’re using localhost as the database hostname. The correct value should look like sql***.infinityfree.com, where *** are numbers. You can find the database hostname to use in the client area and control panel.