Re: Use MySQL Backup Mod as transfer utility?
Hi, Doc! Based on your reply, I uploaded your mod to the production server, and backup worked beautifully. But when trying to restore the db to the same site on my laptop, got this error (with debug=ON):
Code:
Checking Path: c:/5/bin/.exe/
Warning Checking Path: c:/mysql5/bin/
Warning
Warning COMMAND FILES SELECTED:
Warning mysqlexe="c:/mysql5/bin/mysql.exe"
Warning mysqldumpexe="c:/mysql5/bin/mysqldump.exe"
Warning COMMAND: "c:/mysql5/bin/mysql.exe" "--database=database" "--host=localhost" "--user=user" "--password=password" database < "c:/apache2/htdocs/site/admin/backups/db_database-20080102092929.sql" 2>&1
Error valueA: operable program or batch file.
Error valueB:
Warning Result code: 1
Error Failure: The database may NOT have been restored properly. Please check it carefully.
I did correct the path in the /admin/includes/languages/english/backup_mysql.php file as the readme suggested, but have no clue how to change the security permissions to allow "Internet Guest Account" to run cmd.exe. My laptop is Win XP, so could that be the problem? If yes, then please advise which option sounds better to you:
1. Make the permission changes on the laptop
2. Move the localhost site over to my desktop running Win 2000Pro and Xampp
Thanks!
RAB
Why is it I'm always surprised when something actually works?