2
Without knowing much about your hosting its difficult to say. Some hints however:
1. Did you create the database yourself or was it created by your hoster?
2. Can you access that database with phpmyadmin or whatever tool your hoster supplies in combination with the user/pw you think is the correct one?
3. Upload this to your website and call the file in the browser then after you changed server, user and pw accordingly to see if it can connect to the db.
$link = mysql_connect('mysql', 'mysql_user', 'mysql_password');
if (!$link) {
die('No connection possible: ' . mysql_error());
}
printf("MySQL server version: %sn", mysql_get_server_info());
?>
(Name it testdb.php or something)
What does the errorcode say if there is any?
4. What does your hosters faq say how the sql server should be named? Some use "mysql" for the servername.
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...