Evita Tan wrote:
> java.sql.SQLException: Server connection failure
> during transaction. Due to underlying exception:
>
> 'java.lang.ArrayIndexOutOfBoundsException: 40'.
> Attempted reconnect 3 times. Giving up.
>
> I don't understand why there is an array out of
> bounds exception. my host is localhost:3306 and i
> already verified my username and password. I
> granted access on all db but it displays zero
> changes. what does this mean? i am using mysql
> server v4.1.7-nt on winxp. does this have anything
> to do with mysql configuration?
>
> pls help
Evita,
What version of Connector/J are you using? You'll want to use Connector/J 3.0.16 or 3.1.6 to connect to MySQL-4.1.7 or newer, as there were changes in the protocol that older drivers won't understand.
-Mark
Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html