Harry Rickards <hricka...@l33tmyst.com>:
> 
>  I know this is off-topic, but I don't really want to have to subscribe
>  to or constantly read the MySQL mailing lists, and the IRC channel's no
>  help.

Search the archives:

  groups.google.com "comp.databases.mysql"  # guessing.

However, I think your problem more relates to java than sql.

>  I've written some sample code in Java that connects to localhost using
>  the MySQL JDBC. I've tried multiple variations of the code, but even
>  when using the proper code from MySQL's website, I get the following error:
> 
>  SQLException: 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
>  SQLState: 42000
>  VendorError: 1064

Does your query run in a commandline session with the db?


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://blinkynet.net/comp/uip5.html      Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to