Using the command line on windows. Mysqldump does not accept the "" in the path name for the –tab= option.
I have tried the following:
mysqldump -u root -p --tab=D:DataDump myDB
mysqldump -u root -p --tab="D:DataDump" myDB
mysqldump -u root -p --tab='D:DataDump' myDB
mysqldump -u root -p --tab=D:\DataDump myDB
I get either a syntax error or ERROR Unknown command D
2
Answers
In fact it does accept.
Running the following command in windows.
Generates the following files in the Uploads directory ,
Some of the content of the country.txt
Note. I used the Uploads directory because of the
secure_file_priv
, mysql needs permitions to that directory.See more on mysqldump — A Database Backup Program