4
Yes, that's the first to check.
My procedure in these matters goes like this:
1) Is mainfile.php correct?
2) Can you access the database with an external tool (host's phpmyadmin or something) with the information in the mainfile.php?
3) Contact host to hear if they are experiencing problems