title: Communications link failure with Online-database
body: <p>I'm using mysql-connector-java-5.1.38 and It worked well on localhost. But when I connect to my database on openshift, I got trouble:</p>
  
  <pre><code>Communications link failure
  
  The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  </code></pre>
  
  <p>This is my code to connect to server:</p>
  
  <pre><code>public static final String DATABASE =   "jdbc:mysql://&lt;database address&gt;:3306/my_database";
  public static final String DB_ACCOUNT = "my_userame";
  public static final String DB_PASSWORD = "my_password";
  ...
  connection = DriverManager.getConnection(DATABASE, DB_ACCOUNT, DB_PASSWORD);
  </code></pre>
  
  <p>Please help me. Thank you so much!</p>