update mysqluser set authentication_string=passwordGwscGbJZuCJX^6Ma where user=root;这行sql有什么问题
这行SQL语句没有明确指定数据库,应该使用USE语句在执行之前选择要操作的数据库。例如:
USE mysql;
UPDATE user SET authentication_string = PASSWORD('GwscGbJ.ZuCJX^\?6M:a') WHERE user = 'root';
原文地址: https://www.cveoy.top/t/topic/iMKS 著作权归作者所有。请勿转载和采集!