mysql_connect($host,$user,$password) or die("无法连接MySql服务器$host");
mysql_select_db($database) or die("无法打开打开数据库$database ");