-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
I'm getting the following error message(s) when running the script:
[!!] failed to execute: SELECT CONCAT(user, '@', host) FROM mysql.user WHERE IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD('amateur') OR IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD(UPPER('amateur')) OR IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD(CONCAT(UPPER(LEFT('amateur', 1)), SUBSTRING('amateur', 2, LENGTH('amateur'))))
When I run the query manually, I get:
mysql> SELECT CONCAT(user, '@', host) FROM mysql.user WHERE IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD('amateur') OR IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD(UPPER('amateur')) OR IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD(CONCAT(UPPER(LEFT('amateur', 1)), SUBSTRING('amateur', 2, LENGTH('amateur'))));
ERROR 1054 (42S22): Unknown column 'password' in 'where clause'
Server version: 5.7.16 MySQL Community Server (GPL)
MacOS Mojave 10.14.4 Beta (18E205e)
Phobos-7, Tigla, Rushera, jasonridesabike, foxycode and 1 more