Re: connector mxj can't init db on linux

Eric Herman <[email protected]>
Newsgroups gmane.comp.db.mysql.java
Message-ID <1148306902.19289.27.camel@localhost>
Andreas,

Sorry for the long delay in getting back to you.

We have not crafted and sent out an official announcement yet, but the
Connector/MXJ 5.0.2 Beta is can be downloaded at:

http://dev.mysql.com/downloads/connector/mxj/5.0.html


There are a few API changes between 1.1.x and this release, so you will
need to re-compile with the new jar. Also two be sure to note a few
important changes:

(1) the default binaries are MySQL 5.0.

(2) In the connector-mxj/lib directory, you will find "aspectjrt.jar"
and we need to make sure that is added to the classpath. 

(3) For the URL syntax, rather than a "host:port", the
ServerLauncherSocketFactory.shutdown static method now takes two file
parameters: (File baseDir, File dataDir). If a datadir was not specified
in the url, the dataDir file parameter may be left null.

Should debug logging be required, the system may be started with
"c-mxj_trace" property set to "true". Alternatively, logging may be
toggled by calling:

   com.mysql.management.trace.Tracer.setLogging(boolean)

With this enabled, output will be directed to System.err with the
relevant method calls and what the values of each parameter are. This
could be quite a lot of data, so we wouldn't want to run with this most
of the time, of course. However, if we are still experiencing the
"InnoDB: Unable to lock ./ibdata1, error: 11" EAGAIN issue, we might get
some added insight from this very detailed data.

Also, I'd like to make sure that we start by completely removing the
basedir from the Connector/MXJ 1.1 installation just to avoid any
possible confusion there.

Cheers! And best of luck, 
 -- Eric

-- 
Eric Herman, Software Developer
MySQL AB, www.mysql.com
Mobile: +1 206 913 8942

Are you MySQL certified?  www.mysql.com/certification


-- 
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.