Starting backup...
Dumping database hms...
Backup failed because The dump process failed with exitcode 2 : Misuse of shell builtins : mysqldump: Got error: 2004: "Can't create TCP/IP socket (10106 "Unknown error")" when trying to connect\r\n
I got the following error while trying to
Artisan::call('backup:run');
$output=Artisan::output();
using php artisan backup:run on the command line works fine.
calling it laravel's Artisan gives that error.
I correctly assign the config/database.php dump
'mysql' => [
...
'dump' => [
'dump_binary_path' => 'C:\xampp\mysql\bin',
'use_single_transaction',
'timeout' => 60 * 5,
'exclude_tables' => ['table1', 'table2'],
]
],
Please, help me.