I seem to be getting the error as shown below:
Am I missing out on something here and not giving cygwin the right to write to a folder?
There is a very simple answer to this question. You cannot write to the C:
drive. Try moving into a different folder and that will allow you to write your .sql
files.