|
From: Jim M. <ji...@ji...> - 2013-06-26 02:01:27
|
The comment at the beginning of the file describes what to do. Your driver is the single jar file mm.mysql-2.0.14.jar, not a directory, right? Exploding the jar would change the classpath a bit. Assuming you have a compiled version of DataVision (the file lib/DataVision.jar exists), and that you have a terminal and are in the DataVision directory (the one that contains lib, examples, etc.), you should be able to type java -classpath classes:/home/marty/Tryit/mm.mysql-2.0.14.jar -d org.gjt.mm.mysql.Driver -c jdbc:mysql://localhost/DATABASE -s DATABASE -u USER -p PASSWORD -v (where DATABASE is your database name, etc.) Jim On Tue, Jun 25, 2013 at 9:49 PM, Marty <mmc...@fr...> wrote: > Jim, > > How should I run the test file? I'm unfamiliar with Java. What should I > have in the dcclasspath line? I have /home/marty/TryIt/mm.mysql-2.0.14. > I've checked the mysql server, it is running. Am I using the right > driver? Could it be a permission problem? > > Marty > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > DataVision-users mailing list > Dat...@li... > https://lists.sourceforge.net/lists/listinfo/datavision-users -- Jim Menard, http://www.jimmenard.com/ |