title: Unable to connect to the MySQL server, org.netbeans.api.db.explorer.DatabaseException, Communications link failure
body: <p>I get the following error in a pop up window when I try to <code>Register MySQL Server</code></p>
  
  <pre><code>Unable to connect to the MySQL server: 
  
  org.netbeans.api.db.explorer.DatabaseException: org.netbeans.api.db.explorer.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 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.. 
  
  The server may not be running or your MySQL connection properties may not be set correctly. Do you want to edit your MySQL connection properties? 
  </code></pre>
  
  <p>How do I fix this?</p>