PDA

View Full Version : Probelm in connectin WEKA and MS SQL SERVER 2000



Gayani1
05-28-2007, 02:56 AM
I tried to load data from database using weka explorer 3.5. i am using a Jdbc driver for connection with MS SQL server 2000. JDK version is 1.5.
there is an error coming when connecting saying "NO suitable driver found". i have set my CLASSPATH accurately.Pls help:(

thanks.

fracpete
06-22-2007, 01:33 AM
Run the following command in the SimpleCLI:
java weka.core.SystemInfo

Does the property "java.class.path" list your JDBC driver jar? If not then you're doing something wrong with the CLASSPATH.
If it's listed, did you specify the correct jdbcDriver in the DatabaseUtils.props file? See these Wiki articles for more information:
http://weka.sourceforge.net/wiki/index.php/Databases
http://weka.sourceforge.net/wiki/index.php/Weka/experiment/DatabaseUtils.props