Answer the question
In order to leave comments, you need to log in
How to deal with the following MySQL error: "ERROR 1054 (42S22): Unknown column 'Password' in 'filed list'"?
Beginner bydlokoderast. I torture MySQL from under the Windows console. Installed by unpacking from the archive. I didn’t understand: either by default there is some kind of password, or at the very first start, without realizing it, I set some kind of password (deleting and re-unpacking is not treated). I go with the --skip-grant-tables option, try to set the password setting commands (SET PASSWORD FOR 'root'@'localhost' = PASSWORD('new_password');) or display a list of users (SELECT user,host,password FROM mysql. user;) - each time swears at the word password as follows ERROR 1054 (42S22): Unknown column 'Password' in 'filed list'. And the last command without password (in the form of SELECT user,host,password FROM mysql.user;) works fine and produces a list of two users: mysql.sys and root.
UPD
Forgot to say: MySQL is currently installed at 5.7.9, if that information is of any significance.
Answer the question
In order to leave comments, you need to log in
try like this
UPDATE `mysql`.`user` SET `Password` = PASSWORD('YOU PASSWORD') WHERE `user`.`Host` = 'localhost' AND `user`.`User` = 'root'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question