Functionality added or changed:
Updated internal jar file names to include version information and be more consistent with Connector/J jar naming. For example,
connector-mxj.jaris nowmysql-connector-mxj-${mxj-version}.jar.Updated commercial license files.
Added copyright notices to some classes which were missing them.
Added
InitializeUserandQueryUtilclasses to support new feature.Added new tests for initial-user & expanded some existing tests.
ConnectorMXJUrlTestExampleandConnectorMXJObjectTestExamplenow demonstrate the initialization of user/password and creating the initial database (rather than using "test").Added new connection property
initialize-userwhich, if set totruewill remove the default, un-passworded anonymous and root users, and create the user/password from the connection url.Removed obsolete field
SimpleMysqldDynamicMBean.lastInvocation.Clarified code in
DefaultsMap.entrySet().Removed obsolete
PatchedStandardSocketFactoryjava file.Added
main(String[])tocom/mysql/management/AllTestsSuite.java.Errors reading
portFileare now reported usingstacktrace(err), previouslySystem.errwas used.portFilenow contains a new-line to be consistent withpidFile.Fixed where
versionString.trim()was ignored.Removed references to
File.deleteOnExit, a warning is printed instead.
Bugs fixed:
Changed tests to shutdown mysqld prior to deleting files.
Fixed port file to always be written to datadir.
Added os.name-os.arch to resource directory mapping properties file.
Swapped out commercial binaries for v5.0.40.
Delete
portFileon shutdown.Moved
platform-map.propertiesintodb-files.jar.Clarified the startup max wait numbers.
Updated
build.xmlin preperation for next beta build.Removed
use-default-architectureproperty replaced.Added null-check to deal with C/MXJ being loaded by the bootstrap classloaders with JVMs for which
getClassLoader()returns null.Added robustness around reading portfile.
Removed
PatchedStandardSocketFactory(fixed in Connetor/J 5.0.6).Refactored duplication from tests and examples to
QueryUtil.Removed obsolete
InitializePasswordExample