1) Hai ragione, ci metterò più attenzione la prossima volta![]()
2) Fatto ma stesso errore.Il Blocco intero è così:
try{
db=DriverManager.getConnection("jdbc:mysql://localhost/NOMINATIVODB", "root", "") ;
}catch(SQLException ex){
System.out.println("SQLException: " + ex.getMessage());
System.out.println("SQLState: " + ex.getSQLState());
System.out.println("VendorError: " + ex.getErrorCode());
}
![]()
![]()