title: java.sql.SQLException: No suitable driver found in Netbeans
body: <p>I have this code in a class for the connection to the database.</p>
  
  <pre><code>package fullhouse;
  
  import java.sql.*;
  import java.util.logging.Level;
  import java.util.logging.Logger;
  
  public class FullhouseDB {
  
      private static Connection databaseConnectie;
  
  
      public static Connection getConnection() {
          if(databaseConnectie == null){
                  String connectString = "jdbc:mysql://localhost:3306/fullhouse";
                  try {
                       databaseConnectie = DriverManager.getConnection(connectString, "root", "2002112735");
                  } catch (SQLException ex) {
                      Logger.getLogger(FullhouseDB.class.getName()).log(Level.SEVERE, null, ex);
              }
              } 
  
          return databaseConnectie;
  
      }
  </code></pre>
  
  <p>And I get this error:</p>
  
  <pre><code>dec 29, 2014 5:05:49 PM fullhouse.FullhouseDB getConnection
  SEVERE: null
  java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/fullhouse
  </code></pre>
  
  <p>I've checked the username and password, the connection of database services, and all is correct.</p>