how to access MySQL database remotely from : <p>I am making database connection remotely but i am getting "<strong>communication link failure</strong>" my code is:</p>

<pre><code>Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection("jdbc:mysql://49.58.100.100:3306/abc", "abc1","abc");
System.out.println(con);
</code></pre>
