You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have all kinds of random password containing characters such as "(" or others. The "(" gives me this error:
sh: -c: line 0: syntax error near unexpected token (' sh: -c: line 0: mysqldump db -h localhost --port 3307 -u user -pr!(7!)fGtlo% | gzip > ~/backups/files//db_date-01.sql.bz2'
Other passwords have generated failed backups with unclear error messages. I've updated line 151 of backup_db.php from:
$params[] = '-p'.$this->_db_passwd;
to:
$params[] = "-p'".$this->_db_passwd."'";
and it seems to be now working for me.
I'll look into the recent secure password addition fix as well.. thank you.
The text was updated successfully, but these errors were encountered:
Hmm, escaping parameters. I haven't really considered that when I wrote this script several years ago. Will review and see if I can implement it quick.
I have all kinds of random password containing characters such as "(" or others. The "(" gives me this error:
sh: -c: line 0: syntax error near unexpected token
(' sh: -c: line 0:
mysqldump db -h localhost --port 3307 -u user -pr!(7!)fGtlo% | gzip > ~/backups/files//db_date-01.sql.bz2'Other passwords have generated failed backups with unclear error messages. I've updated line 151 of backup_db.php from:
$params[] = '-p'.$this->_db_passwd;
to:
$params[] = "-p'".$this->_db_passwd."'";
and it seems to be now working for me.
I'll look into the recent secure password addition fix as well.. thank you.
The text was updated successfully, but these errors were encountered: