laravel-backup: Not an 'issue' just a question.. - mysqldump not found on windows.
Running this on windows, I get this error that mysqldump is not recognized.
C:\inetpub\PHPBackupTool>php artisan backup:run
Starting backup...
Dumping database msol_license_tracker...
Backup failed because The dump process failed with exitcode 1 : General error : '"mysqldump"' is not recognized as an internal or external command,
operable program or batch file.
In my config\database.php
I’ve added this
'dump' => [
'dump_binary_path' => 'C:\\PROGRA~1\\MySQL\\MYSQLS~1.7\\bin\\',
],
Any thoughts on what I am getting wrong with the path formatting?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 19 (8 by maintainers)
Sure, I could have gone with
setDumpBinaryPath
. But it’s common for config values in Laravel to use underscores instead of using camelCasing. Having users setdump_binary_path
is much more natural then letting them setsetDumpBinaryPath
.