Spec-Zone .ru
спецификации, руководства, описания, API
|
For the easiest method of installation, use the binary distribution of the Connector/J package. The binary
distribution is available either as a tar/gzip or zip file. Extract it to a suitable location, then optionally
make the information about the package available by changing your CLASSPATH
(see Section 22.3.3.2, "Installing the
Driver and Configuring the CLASSPATH
").
MySQL Connector/J is distributed as a .zip
or .tar.gz
archive containing the sources, the class files, and the JAR archive named mysql-connector-java-
. version
-bin.jar
Starting with Connector/J 3.1.9, the .class
files that constitute the JAR files
are only included as part of the driver JAR file.
Starting with Connector/J 3.1.8, the archive also includes a debug build of the driver in a file named mysql-connector-java-
. Do
not use the debug build of the driver unless instructed to do so when reporting a problem or a bug, as it is not
designed to be run in production environments, and will have adverse performance impact when used. The debug
binary also depends on the Aspect/J runtime library, which is located in the version
-bin-g.jarsrc/lib/aspectjrt.jar
file that comes with the Connector/J distribution.
Use the appropriate graphical or command-line utility to extract the distribution (for example, WinZip for the .zip archive, and tar for the .tar.gz archive). Because there are potentially long file names in the distribution, we use the GNU tar archive format. Use GNU tar (or an application that understands the GNU tar archive format) to unpack the .tar.gz variant of the distribution.