$conn = mysql_connect('localhost','tu-User','tu-Pass') or trigger_error(mysql_error(),E_USER_ERROR); mysql_select_db("tu-Dbname");