anzi meglio questa:
Codice PHP:
$conn mysql_connect("localhost","root","root") or die(mysql_error());