update 表名 set 字段名 = replace(字段名,’search’,’replace’)
UPDATE gxb_user SET avatar = REPLACE(avatar, ‘http://’, ‘https://’)
WHERE uid > 0;
update 表名 set 字段名 = replace(字段名,’search’,’replace’)
UPDATE gxb_user SET avatar = REPLACE(avatar, ‘http://’, ‘https://’)
WHERE uid > 0;