Connector/MXJ and Connector/J work together to enable you to
launch an instance of the mysqld
server
through the use of a keyword in the JDBC connection string.
Deploying Connector/MXJ within a Java application can be
automated through this method, making the deployment of
Connector/MXJ a simple process:
Download and unzip Connector/MXJ, add
mysql-connector-mxj-gpl-[ver].jar
to
the CLASSPATH
.
If you are using Connector/MXJ v5.0.4 or later you will also
need to add the
mysql-connector-mxj-gpl-[ver]-db-files.jar
file to your CLASSPATH
.
To the JDBC connection string, embed the
mxj
keyword, for example:
jdbc:mysql:mxj://localhost:
.
PORT
/DBNAME
For more details, see Section 20.5.4, “Connector/MXJ Configuration”.
User Comments
Add your own comment.