INTO OUTFILE

查看 FILE 权限:

  1. select file_priv from mysql.user where user=user() #(MYSQL4/5)
  2. select grantee,is_grantable from information_schema.user_privileges where privilege_type=‘file’ and grantee=user()