Boa tarde lista !!!
Seguinte, estou tentando fazer uma conex�o de uma aplica��o em java no mysql mais n�o estou conseguindo... Baixei o mysql-connector-java-3.0.11-stable e segui as instru��es abaixo. S� n�o entendo o que diabos � esse "classpath" Eu coloquei o caminho: /usr/src//mysql-connector-java-3.0.11-stable dentro do PATH do j2sdk e tambem tentei colocar no PATH. tanto � que se eu digitar echo $PATH o mysql-connector est� l�: $PATH: /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games/:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/java/jre/lib:/usr/local/mysql/bin/:/usr/src/mysql-connector-java-3.0.11-stable:/usr/lib/qt-3.2.1/bin:/usr/share/texmf/bin Eu j� havia feito isto funcionar, mais por algum motivo (o qual n lembro) eu mexi em alguma coisa que n�o funciona mais. MySQL (mysql-4.0.18) est� OK, a aplicac�o est� OK e a base dados tb. Alguma id�ia ??? valeu!! Cesar. USAGE AND INSTALLATION MySQL Connector/J is distributed as a .zip or .tar.gz archive containing the sources and class files that also includes a class-file only "binary" .jar archive named "mysql-connector-java-3.0.11-stable-bin.jar". You will need to use the appropriate gui or command-line utility to un-archive the distribution (for example, WinZip for the .zip archive, and "tar" for the .tar.gz archive). Once you have un-archived the distribution archive, you can install the driver in one of two ways: Either copy the "com" and "org" subdirectories and all of their contents to anywhere you like, and put the directory holding the "com" and "org" subdirectories in your classpath, or... Put mysql-connector-java-3.0.11-stable-bin.jar in your classpath, either by add$ FULL path to it to your CLASSPATH enviornment variable, or putting it in $JAVA_HOME/jre/lib/ext. --------------------------------------------------------------------------- Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br Regras de utiliza��o da lista: http://linux-br.conectiva.com.br FAQ: http://www.zago.eti.br/menu.html
