Change user for select into outfile file permission
I have to be able to write files to a secure Windows server location where the user is something other than {user}@localhost. Is there a way to pass a username and password in the select into outfile command? I cannot have the write-to location be open to the world because the data are confidential.
Could you please describe this in more detail and let us know how it should be connected with dbForge?
-
Jim VanO commented
If I want to write an outfile to a particular folder to which only jv23@domain_name has full permission given confidential nature of data, I cannot write the file using dbForge. dbForge returns errcode 1 - Can't create/write to file and errcode 2 - No such file or directory. Some place (I can't remember where) I found out the reason for the error was that dbForge was passing the MySQL username @ localhost, which is not the domain user, there was no way to change the user writing the file, and I have no permission to change the folder permissions.