Java で mysql を接続しようとしましたが、コンパイラ エラーが発生します。
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
mysql libraray を追加しましたが、これには欠陥があります:Class.forName("com.mysql.jdbc.Driver");
私は何をすべきか?