Problems with MySQL-Driver
843854Feb 10 2004 — edited Feb 11 2004Hi,
I try to load the MySQL-Driver by using:
DriverManager.registerDriver(new com.mysql.jdbc.Driver());
resp.:
Class.forName("com.mysql.jdbc.Driver").newInstance();
Both variations cause the Compiler to give me the following:
"<identifier> expected at line..."
I already made sure (several times) that the appropriate driver (mysql-connector-java-3.0.10-stable-bin.jar) is - according to the MySQL-Readme - in the right folder (JAVA-HOME/jre/lib/ext).
I'm running Win2K Professional, all SP installed; Java is Java 2 SDK 1.4.2.
Meanwhile I'm pretty close to turning inside out.... :)
Any sugestions will be highly appreciated.
So long,
Jan