发布时间:2015-02-01 19:11:27
import os, pwd;os.seteuid(pwd.getpwnam('nginx').pw_uid);os.setegid(pwd.getpwnam('nginx').pw_gid);......【阅读全文】
发布时间:2015-02-01 18:59:09
delete from my_table_name where id not in(select * from (SELECT min(id) FROM my_table_name group by `col1`,`col2`) as t1) limit 1000;......【阅读全文】