try {
$connect = mysql_connect("localhost", "root", "");
or
die("Eror : " . mysql_error() );
$db = mysql_select_db("database_name", $connect);
} catch (Exception $e) {
die ("it was created an unexpected problem :" . $e->getMEmessage() );
}
?>
burada yanlış olan nedir?