B4J Question jrdc2 not working

John Decowski

Member
Licensed User
Longtime User
im having a real problem getting jrdc2 to work. i have absolutely no problem using rdc original. im getting the error code below. I think my problem lies with setup and build of this app. I checked and double check my config file which is just about the same as rdc1. I place a copy of connector jar file in "additional_libraries" folder as instructed. I defined it in the code. I'm running the code in debug mode but also tried it in release. Im using mysql server. #AdditionalJar: mysql-connector-java-5.1.27-bin.

thanks in advance @Erel
 
Last edited:

John Decowski

Member
Licensed User
Longtime User
well in case anyone runs into this... i just figured out my problem... I did not have the correct version connector file defined and downloaded. I defined mysql-connector-java-5.1.27-bin (because i wasn't paying attention to the age of the library), and needed -connector-java-8.0.16. ALSO: in new version of MYSQL the driver class changed from: DriverClass=com.mysql.jdbc.Driver to: DriverClass=com.mysql.cj.jdbc.Driver in config file.

Also noticed that username for db is case sensitive in jrdc2 and may not of been in rdc1.
Well hopefully this information will help someone. but not sure why it worked fine in rdc1?
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…