zencart version: 1.3.6 (will be upgraded shortly!)
PHP: 4.4.4
MYSQL: 4.1.21
My store's not able to backup MYSQL database due to mysqldump path error.
Error Messages
one line from my /admin/includes/languages/english/backup_mysql.php"Result code: 127"
"Skip Lock option (check this if you get a LOCK TABLES permissions error)
ERROR: Could not locate the MYSQLDUMP backup utility. BACKUP FAILED."My host insisted the location of mysqldump is locating at /usr/bin/ so backup_mysql.php is correct.define('LOCAL_EXE_MYSQLDUMP', '/usr/bin/mysqldump'); // used for backups
My hosting tech further investigated and stated:
I've read http://www.zen-cart.com/forum/showthread.php?t=45039 and http://www.zen-cart.com/forum/showthread.php?t=45238. But I'm not sure what next actions I shall take? Any suggestions?We have investigated your issue and the error we receive in the logs while running the backups is:
sh: /usr/bin/mysqldump --host=localhost --user=xxxxxx --password=xxxxxx --opt --complete-insert --skip-lock-tables --result-file=/home/xxxxx/public_html/admin/backups/db_xxxxx_zencart_xxx.sql xxxxxx_zencart 2>&1: No such file or directory
sh: -c: line 0: syntax error near unexpected token `0'
sh: -c: line 0: `exit(0)'.
which mean that the backup utility is looking for the backup file instead of creating one. I would suggest you to acquire support from the developers of Zen cart as any changes made by us would brake some thing.



