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