批量插入不同的uuid update t_website set uuid = md5(replace(convert(uuid() using utf8mb4),'-','')); 查看uuid是否有重复 select uuid, count(*) from t_website GROUP BY uuid HAVING count(*) > 1;