show variables like '%secure%'; 看看导出位置
SELECT * FROM tb WHERE sn = '1'
LIMIT 1,10
into outfile '/var/lib/mysql-files/SPH.txt'
show variables like '%secure%'; 看看导出位置
SELECT * FROM tb WHERE sn = '1'
LIMIT 1,10
into outfile '/var/lib/mysql-files/SPH.txt'