Please, help me with the RowSetProvider, it throws an SQL exception
(No suitable driver found for jdbc:mysql://localhost:3306)
while Drivermanager.getConnection() works OK.
public static void main(String[] args) throws SQLException {
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/zoo?serverTimezone=UTC", "hbstudent",
"hbstudent");
System.out.println(con.getCatalog()); // <-- works OK
// ****************************************************
JdbcRowSet rs = RowSetProvider.newFactory().createJdbcRowSet();
rs.setUrl("jdbc:mysql://localhost:3306/zoo?serverTimezone=UTC");
rs.setUsername("hbstudent");
rs.setPassword("hbstudent");
rs.setCommand("select 1");
rs.execute(); //<-- Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/zoo?serverTimezone=UTC
}