>> javaaddpath
C:\j2sdk1.4.2_06\jre\lib\ext\mysql-connector-java-3.1.6-bin.jar
>> java.lang.Class.forName('com.mysql.jdbc.Driver')
??? Java exception occurred:
java.lang.ClassNotFoundException: com/mysql/jdbc/Driver
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
I checked the path with javaclasspath and verified it is there. Also
I know the jar file exists because I can use it with external Java
code. Any suggestions?
conn=database('dbname','user','password','com.mysql.jdbc.Driver','jdbc
:mysql://localhost/dbname')
This is only a demo of the toolbox and I don't intend on using it as
inserts are extremely slow.
I see that others have had this problem but I haven't seen any
solutions.
>>
conn=database('test','root','root','com.mysql.jdbc.Driver','jdbc:mysql
://localhost/test')