Cannot connect to a MySQL server
I am trying to connect to a MySQL server using a Java program. I always get this error when trying to connect:
SQL Exception: 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 '????????????????' at line 1
com.mysql.jdbc.exceptions.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 '????????????????' at line 1
I'm lost and have no idea what else to do because I'm just a newbie. Please help.








