This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I try connect to My SQL code is import java.sql.*; public class MySQL { public static void main(String args[]) { try { Class.forName("org.gjt.mm.mysql.Driver").newInstance(); Connection mysql=DriverManager.getConnection("jdbc:mysql://localhost:3306/ok","qqq","qqq"); System.out.println("Ok"); } catch(ClassNotFoundException e) { System.out.println("Class Not Found"); } catch(SQLException e) { System.out.println(e.getMessage()); } catch(InstantiationException e) { System.out.println(e.getMessage()); } catch(IllegalAccessException e) { System.out.println(e.getMessage()); } } } but have bad handshake error