My site is not working need help

MY site is not working:
Showing these in text:

[quote]
Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.[/quote]

Snap:

Need Urgent Help:

Thanks
Regards
FAIZ

Hi,

could you please give us more information? Which CMS do you use and which version? Are you sure that you insert your data for the database correctly?

What happens when you try this code?

$host = "localhost";
$nick = "---your nickname here---";
$pw = "---your pw here---";
$database = "--- your database ---";
if(@mysql_connect($host, $nick, $pw)) { 
echo "Could establish connection."; 
if(@mysql_select_db($database)) { echo "Database found"; }
else { die("Couldn't find database ".mysql_error()); }
}
else { die("Couldn't establish connection. ".mysql_error()); }

Kind regards
myPages

he uses simple machines forum (SMF) site is in here: www.simplemachines.org