That is correct. In 1.4.2 and before, mock would treat root like any other
user and create the user with the password provided the first time. In
1.4.3+, the root user is automatically generated with the empty password.

Sent from my phone, please pardon the typos and brevity.
On May 15, 2013 8:20 PM, "David Medinets" <[email protected]> wrote:

> The following bit of code works with the v1.4.2 jars but fails with the
> v1.4.3 jars.
>
>         Instance mock = new MockInstance();
>         Connector connector = mock.getConnector("root",
> "password".getBytes());
>
> Using a blank password, as below, works in both releases.
>
>         Instance mock = new MockInstance();
>         Connector connector = mock.getConnector("root", "".getBytes());
>
> Is my understanding correct?
>

Reply via email to