[prev in list] [next in list] [prev in thread] [next in thread]
List: wekalist
Subject: [Wekalist] database expert with weka?
From: Christian Schulz <ozric () web ! de>
Date: 2004-05-18 10:26:10
Message-ID: 200405181226.10786.ozric () web ! de
[Download RAW message or body]
Hi,
after a update in the weka.jar since 2-3 hours i can't get
a database connection what i'm done multiple time in the past
and i'm getting crazy :-) ?
Many Thanks,
Christian
##### Without ODBC #############
i use the frst or second!
jdbcDriver=org.gjt.mm.mysql.Driver
jdbcDriver=com.mysql.jdbc.Driver
c:\dm\weka3.4>java -cp mysql-connector-java-3.0.11-stable-bin.jar -jar
weka.jar
Connecting to jdbc:mysql://localhost/direct
Cannot find suitable driver
Doing the mysql-connector-java-3.0.11-stable-bin.jar in an extra
folder and setting the Classpath it wouldn't work, too?
## With ODBC #############
c:\dm\weka3.4>java -jar weka.jar
Loaded driver: sun.jdbc.odbc.JdbcOdbcDriver
Connecting to jdbc:odbc:weka
GenericObjectEditor: Problem making backup object \
java.io.NotSerializableException: sun.jdbc.odbc.JdbcOdbcConnection
Executing query: SELECT * from qtrainrun
Connecting to jdbc:odbc:weka
Getting metadata...
Completed getting metadata...
In the gui comes up:
Couldn' read from database
Null
Problem executing DB query SELECT from ?
########### My DatabaseUtils.props for Mysql with ODBC ###############
# The comma-separated list of jdbc drivers to use
#jdbcDriver=RmiJdbc.RJDriver,jdbc.idbDriver
#jdbcDriver=jdbc.idbDriver
#jdbcDriver=RmiJdbc.RJDriver,jdbc.idbDriver,org.gjt.mm.mysql.Driver,com.mckoi.JDBCDriver,org.hsqldb.jdbcDriver
#jdbcDriver=org.gjt.mm.mysql.Driver
jdbcDriver=sun.jdbc.odbc.JdbcOdbcDriver
# The url to the experiment database
#jdbcURL=jdbc:rmi://expserver/jdbc:idb=experiments.prp
#jdbcURL=jdbc:idb=experiments.prp
#jdbcURL=jdbc:mysql://localhost/direct
jdbcURL=jdbc:odbc:weka
...and the other configurations i'didn't change!
_______________________________________________
Wekalist mailing list
Wekalist@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic