Because there is no formal installation process, the method, installation directory, and access methods you use for Connector/MXJ are entirely up to your individual requirements.
To perform a basic installation, choose a target directory for
the files included in the Connector/MXJ package. On Unix/Linux
systems you may opt to use a directory such as
/usr/local/connector-mxj
; On Windows, you
may want to install the files in the base directory,
C:\Connector-MXJ
, or within the
Program Files
directory.
To install the files, for a Connector/MXJ 5.0.4 installation:
Download the Connector/MXJ package, either in Tar/Gzip format (ideal for Unix/Linux systems) or Zip format (Windows).
Extract the files from the package. This will create a
directory connector-mxj
. Copy and
optionally rename this directory to your desired location.
For best results, you should update your global
CLASSPATH
variable with the location of
the required jar
files.
Within Unix/Linux you can do this globally by editing the global shell profile, or on a user by user basis by editing their individual shell profile.
On Windows 2000, Windows NT and Windows XP, you can edit the
global CLASSPATH
by editing the
Environment Variables
configured through
the System
control panel.
For Connector/MXJ 5.0.4 and later you need the following JAR
files in your CLASSPATH
connector-mxj.jar
— contains the
main Connector/MXJ classes.
connector-mxj-db-files.jar
—
contains the embedded mysqld
and database
files.
aspectjrt.jar
— the AspectJ
runtime library, located in
lib/aspectjrt.jar
in the Connector/MXJ
package.
connector-j.jar
— Connector/J,
see Sección 25.4, “MySQL Connector/J”.
For Connector/MXJ 5.0.3 and earlier, you need the following JAR files:
connector-mxj.jar
aspectjrt.jar
— the AspectJ
runtime library, located in
lib/aspectjrt.jar
in the Connector/MXJ
package.
connector-j.jar
— Connector/J,
see Sección 25.4, “MySQL Connector/J”.
Ésta es una traducción del manual de referencia de MySQL, que puede encontrarse en dev.mysql.com. El manual de referencia original de MySQL está escrito en inglés, y esta traducción no necesariamente está tan actualizada como la versión original. Para cualquier sugerencia sobre la traducción y para señalar errores de cualquier tipo, no dude en dirigirse a mysql-es@vespito.com.