mysql 导出查询结果

show variables like '%secure%'; 看看导出位置

SELECT * FROM tb WHERE sn = '1' 
LIMIT 1,10
into outfile '/var/lib/mysql-files/SPH.txt'

猜你喜欢

转载自www.cnblogs.com/ahuo/p/11293672.html