title: "object not found" while connecting to mysql database with php
body: <p>I have created my database "MUSIC" in phpmyadmin in xampp. I am trying to connect to this database using a php file which i have stored in the OML folder which in turn is present in the htdocs folder my code is:</p>
  
  <pre><code>$db_name="MUSIC";
  $db_user="root";
  $db_pwd="ash123";
  $db_host="localhost";
  
  $connect = mysql_connect("localhost","root","ash123");
  mysql_select_db("MUSIC");
  echo "connection successful";
  </code></pre>
  
  <p>but when I go to localhost and type <code>localhost/connect.php</code>, I get this error:</p>
  
  <pre><code>Object not found!
  the requested URL was not found on this server.if u entered the URL manually please check your spelling and try again.If you think this is a server error,please contact webmaster.
  Error 404
  localhost
  Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7
  </code></pre>
  
  <p>I have searched but I have found a solution to this problem, please help!</p>