I have a big problem! when I do this:
String query = \"SELECT * FROM utente WHERE confermato=1 and Username=\'\" + username + \"\' AND Password
I had the same misleading error message.
I fixed it by changing my port number to 3306. Previously I had the port number set as 2083 because that's what I use on my web server.