select url from news where url like "%美女%" into outfile "/导出的文件路径" ;
在这里有个坑,对于刚执行这个语句会报错,原因是需要你给生成文件的文件夹mysql的权限。
select url from news where url like "%美女%" into outfile "/导出的文件路径" ;
在这里有个坑,对于刚执行这个语句会报错,原因是需要你给生成文件的文件夹mysql的权限。
转载于:https://www.cnblogs.com/beili/p/9125862.html