1 Mar 2009 03:00
Re: Connecting to MySQL database problem
Peter Reutemann <fracpete <at> waikato.ac.nz>
2009-03-01 02:00:12 GMT
2009-03-01 02:00:12 GMT
> I want to connect Weka to my MySQL database to get some data. I've followed > the instructions on http://weka.wiki.sourceforge.net/Databases and > http://weka.wiki.sourceforge.net/CLASSPATH I've also check that weka has > read that classpath: java.class.path: > ./weka.jar;C:/Users/Krystal/Documents/University/University/Year 3/Data > mining/Weka-3-6/mysql-connector-java-3.1.8-bin.jar The "java.class.path" property is only a string. Java does not check whether the entries listed there are actually available or valid. Only at runtime, when a class is being instantiated, this classpath is used to look for that class. Make sure that you don't have a typo in there. If you've made sure that there is not typo, but still get the error message that there's no drivers, you might want to try putting the mysql jar in a location without blanks, e.g., "C:\jars\mysql-connector-java-3.1.8-bin.jar" and try again. [...] Cheers, Peter -- -- Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ http://www.cs.waikato.ac.nz/~fracpete/ Ph. +64 (7) 858-5174 _______________________________________________ Wekalist mailing list Send posts to: Wekalist <at> list.scms.waikato.ac.nz List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html(Continue reading)
RSS Feed