Skip to content

Missing password is not recognized #412

@danielmarschall

Description

@danielmarschall

I have the latest version 1.7.13 running on Maria DB 10.1.26-MariaDB-0+deb9u1 .
I noticed that it did not recognize that I have a user which has no password set.
The reason is that the following line of code presents a string "password" rather than the field "password". So the later checks is null and = '' always succeed.

Here is a fix that works for me:

Find:
"IF(plugin='mysql_native_password', authentication_string, 'password')";

Replace with:
"IF(plugin='mysql_native_password', authentication_string, password)";

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions