紫林庵水帘洞怎么消费:linux mysql 修改ROOT密码 忘记使用PASSWORD函数了!!
来源:百度文库 编辑:高校问答 时间:2024/05/10 06:20:35
请高手指点补救办法,我真的很后悔!
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'