I try to connect mysql using mysql connector 3.0.17 through
jdbc by following code :
Class.forName("com.mysql.jdbc.Driver");
Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","root12");
when i run this program i got the following error:
java.sql.SQLException:error during query Unexpected Exception:java.lang. ArrayindexOutofBoundException message given :35
while my driver is loaded but problem occur in getConnection method.
same code is running on windows system but not in the linux plateform.
still i dont know how to solve this problem
Please help me.