Re: connector mxj problems on linux
Eric Herman <[email protected]>
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <1146685467.6511.67.camel@localhost> |
On Tue, 2006-05-02 at 15:38 +0000, Diego Zanga wrote: > news about ubuntu: > i-ve seen hunderds and hunders of reports about localhost.localdomain > problem. It seems there is no way to "fix it" else then fix hosts > file. > So i-m adding a warning about it, because i cant set hosts file from > java appliaction *too much work, root access required etc, etc > This should be addressed in the most recent releases of MySQL, and consequently, should also be addressed in the next release of Connector/MXJ. > however after fixing hosts file i-ve some more problem > no > pid file working on ubuntu, mxj dont report mysqld running. > [snip] > I've tried MXJ on Ubuntu 5.10 and Suse 10, i dont know > where the problem with --no-default comes from : after using > the fix about absolute path all works. That's good news, then. > The only problem i got is about the pid file : if i open > mxj after the first time, it seems it lost the pid file and > mysqld is no more under mxj control. > > however re-running mysqld from mxj dont cause > problems, else then a small "lag" of 5 seconds. At a guess, this is because mysqld, on the first run, takes longer to write out the pid file than Connector/MXJ is waiting for it. I believe this, also, will be addressed in the next development release of Connector/MXJ. Regardless, it sounds like you have found a work-around. > more news to come :o) > > cya Please let us know if you run into additional issues. Cheers, -- 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]