Skip to content

Unknown column 'password' in 'where clause' #373

Closed
@fmonts

Description

@fmonts

I updated mysqltuner to the latest version and I see a lot of errors in the step where it checks for common passwords.

I'm using Percona Server 5.7.21-20

And example of failing query:
SELECT CONCAT(user, '@', host) FROM mysql.user WHERE IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD('86') OR IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD(UPPER('86')) OR IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD(CONCAT(UPPER(LEFT('86', 1)), SUBSTRING('86', 2, LENGTH('86'))))

[!!] FAIL Execute SQL / return code: 256

The error is Unknown column 'password' in 'where clause'

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions