今天需要批量更新内容,数据库表内容如下。需要把 http://esn-dev.ruijie-grid.com 换成localhost
直接上转换mysql语句了:
UPDATE `ts_dsk_icos` set img = REPLACE(img,'http://esn-dev.ruijie-grid.com','http://localhost/DSK-SNS');
运行后:
2.修改字段名称:
alter table article change names username varchar(255);