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 might use a directory such as
/usr/local/connector-mxj. On Windows, you
might 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
mysql-connector-mxj-gpl-[ver]. Copy and
optionally rename this directory to your desired location.
For best results, 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.6 and later you need the following JAR
files in your CLASSPATH:
mysql-connector-mxj-gpl-[ver].jar:
contains the main Connector/MXJ classes.
mysql-connector-mxj-gpl-[ver]-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.
mysql-connector-java-[ver]-bin.jar:
Connector/J, see MySQL Connector/J.
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.
mysql-connector-mxj-gpl-[ver].jar:
Connector/J, see 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.
mysql-connector-mxj-gpl-[ver].jar:
Connector/J, see MySQL Connector/J.

User Comments
Add your own comment.