$conn=mysql_connect($host,$user,$pass) or die("</span>Mysql Baglanamadi"); şeklinde denermisiniz