php.ini中设置display_errors = off, 那么在php程序输出时不显示错误。@mysql_connect()只是不显示mysql_connect这个函数执行时的错误输出