title: using mysql address of wamp
body: <p>I had installed wamp that come up with PHP Apache and MySQL. I don't need PHP and Apache I am making a Java EE app with Tomcat. I want to connect from a Servlet to MySQL Database</p>
  
  <pre><code>Class.forName("com.mysql.jdbc.Driver");
    con =DriverManager.getConnection 
    ("jdbc:mysql://ADDRESS_MYSQL/DATABASE_NAME","USERNAME","PASSWORD");
  </code></pre>
  
  <p>The reason is I am unable to get the  address of MYSQL, I had opened the <code>sql.ini</code> file and saw that it is running on <code>3306</code> but couldn't get the address.</p>
  
  <p>How can I get the address for connecting with the DB?</p>