cf进去几分钟就闪退:linux mysql 修改ROOT密码 忘记使用PASSWORD函数了!!
来源:百度文库 编辑:高考问答 时间:2024/05/02 04:56:26
请高手指点补救办法,我真的很后悔!
mysql>update user set password='123456' where user='root'
我写成这样了,正确的方法应该是
mysql>update user set password=password('123456') where user='root'
mysql>update user set password='123456' where user='root'
我写成这样了,正确的方法应该是
mysql>update user set password=password('123456') where user='root'