Open up the Windows command line (Start -> Run -> Type 'cmd' -> Hit Enter) the type the first command I posted and copy & paste the output here. The run the second command and do the same.
It is likely that he is using the wrong details to connect to MySQL.
MySQL details:
Can you get your friend to post the details here, otherwise I can't tell you how to fix it.
You would need to download all your files from your old host. Then once your account here is created you will need to upload them all here (Into your public_html folder).
The x10 nameserver's are:
ns1.x10hosting.com
ns2.x10hosting.com
Your account does not exist.
If you haven't logged into the x10 Forums in over a month it is likely that your account was terminated.
You will need to sign-up for a new account.
Account Unsuspended.
The automatic suspension script is a bit sensitive at the moment. I recommend avoiding cPanel's file manager and using FTP instead until the problem is sorted.
*Closed*
Your account was terminated on the 23rd of May 2008
Reason: Suspended for extended period of time, terminated automatically.
You are welcome to sign-up for a new account. If you do please visit http://x10hosting.com/logout first.