导出
select ... into outfile导出
select 导出内容 into outfile '导出的绝对路径';
条件:
secure_file_priv 的值未设置或包含了导出的绝对路径
secure_file_priv的值在mysql配置文件my.ini中设置,这个参数用来限制数据导入导出,默认为空(NULL)即默认禁止导入导出
secure_file_priv值为NULL = 禁止导入导出
secure_file_priv值无具体值/为空字符 = 无限制
导出
select ... into outfile导出
select 导出内容 into outfile '导出的绝对路径';
条件:
secure_file_priv 的值未设置或包含了导出的绝对路径
secure_file_priv的值在mysql配置文件my.ini中设置,这个参数用来限制数据导入导出,默认为空(NULL)即默认禁止导入导出
secure_file_priv值为NULL = 禁止导入导出
secure_file_priv值无具体值/为空字符 = 无限制