hetzner使用proxmox或者solusvm开Nat kvm独立ipv6桥接网卡设置
结果谷歌一系列的查找资料,最后还是到了hetzner的wiki找到了解决办法。 1.proxmox桥接网卡配置: # /etc/network/interfaces ### Hetzner Online GmbH - installimage # Loopback device: auto lo iface lo inet loopback # # device: eth0 auto eth0 iface eth0 inet static address […]
MySQL去重语句
按照某个键值将最小ID创建新表储存: create table tmp_table as select min(id) from wp_posts group by post_title; 然后将储存在tmp中的id与原表对照,将原表中不存在与tmp中的id删除: delete from wp_posts where id not in (select * from tmp_table);