Mysql Password Not Escaped in Shell

Discussion in 'Installation/Configuration' started by user2037, Feb 7, 2008.

  1. user2037

    user2037 New Member

    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.
  2. falko

    falko Super Moderator ISPConfig Developer

    Does your MySQL password contain special characters?
  3. user2037

    user2037 New Member

    Yes, it contains parentheses.
  4. xabin

    xabin New Member

    There you go :)

Share This Page