I'm trying to backup from my Laravel application using Spatie package but when running backup:run commend I get this error:
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.
How do I solve this on localhost and production?
Did you follow all of the setup instructions?
In your config/database.php
file, edit the mysql database config and add:
'dump_command_path' =>' '
// absolute path to where mysqldump lives on your system
That path is probably this, or something very similar: C:\xampp\mysql\bin