title: connecting java application with online hosted mysql database
body: <p><br>I have build an application in java, application is one and will be used on 3 different systems,<br>And therefore the database of that application must be online to keep all 3 applications with up to date database...</p>
  
  <p>In starting I developed my application based on localhost (wampserver) and used database in "PhpMyAdmin", and hopefully application is fully developed and ready to run.. but the problem is online database connectivity! 
  I have uploaded my database on a <a href="http://www.biz.nf/" rel="nofollow noreferrer">Site</a> in PhpMyAdmin and they provided below information:
  <img src="https://i.stack.imgur.com/v6J0W.jpg" alt="enter image description here"></p>
  
  <p>and the for connecting my app to this DB is:</p>
  
  <pre><code>String url = "jdbc:mysql://fdb12.biz.nf:3306/";
  String dbName = "1738412_wstore";
  
  String driver = "com.mysql.jdbc.Driver";
  String userName = "1738412_wstore"; 
  String password = "Password";  
  
  Class.forName(driver).newInstance();
      Connection conn = DriverManager.getConnection(url+dbName,userName,password);
  </code></pre>
  
  <p>now when I run my application it shows below error:
  <img src="https://i.stack.imgur.com/S64z7.png" alt="enter image description here"></p>
  
  <p>I dont know what the problem is there, please help me out through this.. </p>