lereina
lereina

Reputation: 1

About the mac weka connect to mysql

error

I have added java-connect-5.1.41.jar to the directory weka-oracle-jvm/content/java, but when I open DB and connect, it returns false and I get the error:

Unable to find a suitable driver to jdbc.

I have change the ./bash_profile:

export CLASSPATH = ".../weka.jar:/.../java-connect-5.1.41.jar"

Upvotes: 0

Views: 331

Answers (1)

Stephen Wahid
Stephen Wahid

Reputation: 11

I don't think you have downloaded the right file. If you're using MySQL, the file that you have to copy should be of the format "mysql-connector-java-version-bin.jar". The download link is here.

I have also posted a full work-around here. Do let me know if it works for you.

Upvotes: 1

Related Questions