MySQL 批量更新端口号:随机分配 20000-65535 之间的值
update table_name set port = FLOOR(RAND() * (65535 - 20000 + 1)) + 20000, server_port = port where id between 43 and 44;
原文地址: https://www.cveoy.top/t/topic/liIh 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
update table_name set port = FLOOR(RAND() * (65535 - 20000 + 1)) + 20000, server_port = port where id between 43 and 44;
原文地址: https://www.cveoy.top/t/topic/liIh 著作权归作者所有。请勿转载和采集!