i got this error in my code in my hosting account plz help ti solve it

"Error connecting the database"

this is my connection codes

$MYSQL_SERVER='jsnf.db.6477609.hostedresource.com'; //sessions not need for this one
$MYSQL_USER='jsnf';
$MYSQL_DB='jsnf';
$password='[removed]';
mysql_connect($MYSQL_SERVER,$MYSQL_USER,$password) die("Error connecting the database");
mysql_select_db($MYSQL_DB) die("Error Selecting the database");

this information give me by Hosting account

MySQL Database Information
Status:Setup

Host Name:jsnf.db.6477609.hostedresource.com

Database Name:jsnf

Database Version:5.0

Description:Not Set

User Name:jsnf

DSN:mysql_jsnf.dsn 
Installed

can any one help me

Instead of the text, output mysql_error(). Then you'll know some more.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.