-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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.
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 I don't know where the question marks are coming from, as there aren't even any question marks in the code. The code is at http://github.com/l33tmyst/dtelectrics/blob/master/src/connect.java, and if it's any help I'm using Eclipse 3.4.2 on Debian Sid. The java version is: hricka...@siddy:~$ java -version java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing) and the kernel version is 2.6.26-1-486. I've tried STFW, but I can't find anyone with a similar problem. - -- Many thanks Harry Rickards (GPG Key ID:646ED06A) - -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT/GCM/GCS/GCC/GIT/GM d? s: a? C++++ UL++++ P- L+++ E--- W+++ N o K+ w--- O- M- V- PS+ PE Y+ PGP++ t 5 X R tv-- b+++ DI D---- G e* h! !r y? - ------END GEEK CODE BLOCK------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkotN+YACgkQ1kZz3mRu0GrC9wCgtJB9qZ8UhGiB3jtn6DwoYih6 r/4AoM4LQdgG5e2nrkEWnEOOwzs2vk4I =b/Xo -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org