ERROR 1054 (42S22): Unknown column 'password' in 'field list'

解决:

update MySQL.user set authentication_string=password(‘123456‘) where user=‘root‘;

FLUSH PRIVILEGES;

技术交流群: 816227112

ERROR 1054 (42S22): Unknown column 'password' in 'field list'

原文地址:https://www.cnblogs.com/helloworld6379/p/11027505.html

时间: 2024-10-06 17:29:59

ERROR 1054 (42S22): Unknown column 'password' in 'field list'的相关文章

mysql命令 出现ERROR 1054 (42S22): Unknown column 'password' in 'field list'

1.安装 brew install msyql 2.更新 brew upgrade mysql 3.启动 To have launchd start mysql now and restart at login: brew services start mysqlOr, if you don't want/need a background service you can just run: mysql.server start 4.登录 mysql -uroot 5.查看用户及密码 selec

mysql 7.11 修改密码错误 ERROR 1054 (42S22)

mysql> use mysql;Database changedmysql> update user set password=password('123456') where user='root';ERROR 1054 (42S22): Unknown column 'password' in 'field list'mysql> 晚上被这个问题折腾了好久,最后发现window下这个版本的mysql密码列是authentication_string,所以正确的写法是: mysql&

MySQL ERROR 1054(42S22)

修改用户的密码,网上搜到的命令为如下 执行后报错 ERROR 1054(42S22) Unknown column 'password' in 'field list' 错误的原因是 5.7版本下的mysql数据库下已经没有password这个字段了,password字段改成了authentication_string 所以请使用一下命令 >mysql -u root -p Enter password: ******** mysql> use mysql; Database changed

Mysql5.7.18.1修改用户密码报错ERROR 1054 (42S22):

mysql> update user set password=password("新密码") where user="用户名";执行后报错 ERROR 1054(42S22) Unknown column 'password' in 'field list' 错误的原因是 5.7版本下的mysql数据库下已经没有password这个字段了,password字段改成了authentication_string 所以请使用一下命令: mysql -u root

MySQL 1054错误 Unknown column .... in 'on clause'

ERROR 1054 (42S22): Unknown column ... in 'on clause' 原因: MySQL5.0 Bug, 要把联合的表用括号包含起来才行: 例: Sql代码   SELECT (c.id, a.id, b.id) FROM A a, B b LEFT JOIN C c ON c.a_id = a.a_id AND c.b_id = b.b_id 这句话执行应该是没有错误的,但是Mysql 5 下执行则会出错. 因为mysql下有这样一个BUG,要把联合的表用

错误代码: 1054 Unknown column 'course' in 'field list'

1.错误描述 1 queries executed, 0 success, 1 errors, 0 warnings 查询:SELECT stu_name, course, score FROM t_student_info s LIMIT 0, 1000 错误代码: 1054 Unknown column 'course' in 'field list' 执行耗时 : 0 sec 传送时间 : 0 sec 总耗时 : 0 sec 2.错误原因 SELECT stu_name, course,

discuzX3.2错误 (1054) Unknown column 'conuintoken' in 'field list'

开启QQ互联后,点击登录以后报错:(1054) Unknown column 'conuintoken' in 'field list'   下面把解决方法分享一下: 输入以下句子运行:(其中的 pre_ 为你论坛数据库的表前缀,如果不是默认的,请注意修改) ALTER TABLE  `pre_common_member_connect` ADD COLUMN conuintoken char(32) NOT NULL DEFAULT '';ALTER TABLE  `pre_common_co

pymysql.err.InternalError: (1054, "Unknown column 'None' in 'field list'")

错误提示: Traceback (most recent call last): File "D:/projectwc/test/dd.py", line 43, in <module> effect_row = cursor.execute("insert into `222` set c={}".format(None)) File "C:\python\lib\site-packages\pymysql\cursors.py",

报错:pymysql.err.InternalError: (1054, &quot;Unknown column &#39;AType&#39; in &#39;field list&#39;&quot;)

报错背景: 报错前sql代码展示: List = ['Manual', 'Float', 'TimeValue', 'None', '100', '100', '0', '0', '0', '0', 'Forced', '排水系统3#中央泵负压', '556', 'SLWS_ps_3hzybf_YL.PV', 'Analog', '2019/6/13 8:32:46', '-0.0034143477678299', '0'] # sql = "insert into test(id, name)