1、进入mysql:在cmd中输入mysql -u root -p,输入密码;
2、输入查询语句+“into outfile”+文件:
select ip from iptable group by ip into outfile ‘d:/ip.csv‘;
时间: 2024-10-04 21:55:39
1、进入mysql:在cmd中输入mysql -u root -p,输入密码;
2、输入查询语句+“into outfile”+文件:
select ip from iptable group by ip into outfile ‘d:/ip.csv‘;