The shell script above works fine.$ mysqldump -u root -p testDB > testDB1.sql
Enter password:
I like to make it in a directory "myBackup".
So I did the following shell script
$ mysqldump -u root -p testDB > myBackup/testDB1.sql
bash: myBackup/testDB.sql: Permission denied
But it says "Permission denied" like the above.
What is the problems?
How can I put "testDB.sql" into "myBackup" directory?