Mysql读写

写文件

Select 1,<?php phpinfo(); ?>,3 into outfile "path"  
title 读文件
Select load_file("path")  
title

复制文件

Select load_file("path") into dumpfile "path"