From: Brian C. <bci...@ya...> - 2008-07-17 00:23:51
|
Thanks Frank and Jim for the tip. I've now updated the file <datavision.sh> and I still get the same errors. Here are my settings ~~~~~~~~~~~~~~~~~~~~~ DATAVISION.SH dvclasspath="":classpath=:/Users/cipresse/src/mysql-connector- java-5.1.6/mysql-connector-java-5.1.6-bin.jar for l in ${scriptpath}/lib/*.jar ; do dvclasspath=$dvclasspath:$l done # Output what we will execute, for debugging, if we have a -v switch if [ "$1" = "-v" ] ; then shift echo java -classpath "$dvclasspath" -Dswing.aatext=true jimm.datavision.DataVision $* fi # Run the relevant Java code with the appropriate classpath java -classpath "$dvclasspath" -Dswing.aatext=true jimm.datavision.DataVision $* ~~~~~~~~~~~~~~~~~~~~~ OS X CLASSPATH VARIABLE ProDeuxNouveau:~ cipresse$ echo $CLASSPATH /Users/cipresse/src/mysql-connector-java-5.1.6/mysql-connector- java-5.1.6-bin.jar: ProDeuxNouveau:~ cipresse$ ~~~~~~~~~~~~~~~~~~~~~ .BASH_LOGIN file The file <.bash_login> was modified to include the CLASSPATH: export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH" export set CLASSPATH=/Users/cipresse/src/mysql-connector-java-5.1.6/ mysql-connector-java-5.1.6-bin.jar:$CLASSPATH ~~~~~~~~~~~~~~~~~~~~~ DATAVISION CONNECTION DIALOG Driver Class Name: com.mysql.jdbc.Driver Connection Info: jdbc:mysql://localhost/menlo08 Database Name: menlo08 User Name: datavision Password: ******** I'd greatly appreciate any help anyone could give. I've spent over four hours trying to get this connection today. Thanks, Brian |