I'm writing some code with deals with databases, the connection to my oracle works okay but when trying to connect to a mysql, I get a strange error:
16:42:30: Creating new connection with url: jdbc:mysql://localhost:3306/db
16:42:32: 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
This is pretty much nigh-on impossible to google so I wonder if anyone has any ideas?
16:42:30: Creating new connection with url: jdbc:mysql://localhost:3306/db
16:42:32: 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
This is pretty much nigh-on impossible to google so I wonder if anyone has any ideas?