MySQL Forums
Forum List  »  Newbie

Make Folder With MySQL Command somehow?[Windows[
Posted by: theo theo
Date: October 26, 2011 03:25AM

Yeah guys.

We all know what outfile/dumpfile command do but i have an issue.

Lets say that i want to backup the data of one table
SELECT * from mplampla INTO DUMPFILE 'C:/dumped.txt'

The file 'dumped.txt' will be created and all ok!

Now lets say that i want to save the file in a non-existent folder like 'www_backup'

SELECT * from mplampla INTO DUMPFILE 'C:/www_backup/dumped.txt'

The file will not be created because the folder www_backup does not exists. Is there any way to make this folder using MySQL only?

Options: ReplyQuote


Subject
Written By
Posted
Make Folder With MySQL Command somehow?[Windows[
October 26, 2011 03:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.