title: Cannot load connection class because of underlying exception: com.mysql.cj.exceptions.WrongArgumentException
body: <p>Here is my code:</p>
  
  <pre><code>import java.sql.Connection;
  import java.sql.DriverManager;
  
  public class TestJdbc {
  public static void main(String[] args) {        
  
      String jdbcUrl = "jdbc:mysql://localhost:3306?hb_student_tracker?useSSL=false&amp;serverTimezone=UTC";
      String user = "hbstudent";
      String pass = "hbstudent";
      try {
          System.out.println("Conectiong to database: "+jdbcUrl);
          Connection myConn =
                  DriverManager.getConnection(jdbcUrl,user,pass);
          System.out.println("Connection succesful!!!");
  
      } 
      catch(Exception ex) {
          ex.printStackTrace();
      }
  }
  
  }
  </code></pre>
  
  <p>It fails with the following error:</p>
  
  <pre><code>Conectiong to database: 
  jdbc:mysql://localhost:3306?hbstudent?useSSL=false&amp;serverTimezone=UTC 
  java.sql.SQLNonTransientConnectionException: Cannot load connection class because of underlying exception: 
  com.mysql.cj.exceptions.WrongArgumentException: Malformed database URL, 
  failed to parse the connection string near '?useSSL=false&amp;serverTimezone=UTC'.
  </code></pre>
  
  <p>What am I doing wrong?</p>