user2037
7th February 2008, 20:55
After changing my Mysql password and trying to upgrade from 2.2.17 to 2.2.19 I noticed the followiing errors:
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `mysqldump -h localhost -u root -psecretwith()whichfails -c -t --add-drop-table --add-locks --all --quick --lock-tables ispconfig; > existing_db.sql'
It appears Ispconfig's upgrade script fails to properly escape the Mysql password in the shell.
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `mysqldump -h localhost -u root -psecretwith()whichfails -c -t --add-drop-table --add-locks --all --quick --lock-tables ispconfig; > existing_db.sql'
It appears Ispconfig's upgrade script fails to properly escape the Mysql password in the shell.