Hi, please test the following and tell me what happens (on a console):
mkfifo mypipe
echo -e "a\nb\nc" > mypipe &
while read -r line; do arr+=("$line");done < mypipe
rm mypipe
for i in "${arr}"; do echo "$i"; done
And then to make sure there really is something in your database:
mysql -user="PUT_YOUR_USER_HERE" -password="YOUR_PW_HERE" -host="YOUR_HOST_HERE" -batch -skip-column-names -e "show databases"
Of course I want only the output of it, don't copy the line where you inserted your user and password.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when I run the automysqlbackup from my Cygwin command line (Windows 7) I get the following error:
Does this look like it could be a Windows path error or some other problem associated with Windows? Or is there something else going on here?
Thanks.
Also, forgot to note. I'm trying to run this thing locally which may also be a factor.
Hi, please test the following and tell me what happens (on a console):
mkfifo mypipe
echo -e "a\nb\nc" > mypipe &
while read -r line; do arr+=("$line");done < mypipe
rm mypipe
for i in "${arr}"; do echo "$i"; done
And then to make sure there really is something in your database:
mysql -user="PUT_YOUR_USER_HERE" -password="YOUR_PW_HERE" -host="YOUR_HOST_HERE" -batch -skip-column-names -e "show databases"
Of course I want only the output of it, don't copy the line where you inserted your user and password.
There seem to be some cygwin versions, that have broken pipe (mkfifo) support. http://omgili.com/mailinglist/cygwin/cygwin/com/4B30AD0BED19E842AAE88DC3973649312411601388mail3walshedu.html
Try new 3.0_rc4 version. mkfifo is no longer used and thus it should work now for you. Please confirm that.