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