I tried connect mysql in java but there is compiler error.
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
I added mysql libraray but this is defective : Class.forName("com.mysql.jdbc.Driver");
What should I do?