title: Connecting Javafx Apps to phpMyAdmin
body: <p>im trying to use phpMyAdmin as DB on my javafx apps but everytime I open my apps, no data are being displayed and there are errors.</p>
  
  <p>This is my Connect class:</p>
  
  <pre><code>public java.sql.PreparedStatement connectDatabase() throws Exception{
      java.sql.Connection conn = java.sql.DriverManager.getConnection("jdbc:mysql://sql6.freemysqlhosting.net/hostingserver:3306","dbUserName","dbPassword");
      java.sql.PreparedStatement ps = conn.prepareStatement("Select ORNUM,AMOUNT from receipt");
      return ps;
  }
  </code></pre>