Have you solved this issue yet?
Aug 16, 2020
3
Level 1
Can't create TCP/IP socket (10106) when trying to connect
Hello
Im using spatie/laravel-backup for manage backup on my project
When I want to backup via command line everything works fine via commands
php artisan backup:run
or
php artisan backup:run --only-db
or
php artisan backup:run --only-files
But when I execute any of these commands from the controller via Artisan:calll('backup:run') method , I have the following error:
Exception message: The dump process failed with exitcode 2 : Misuse of shell builtins : mysqldump: Got error: 2004: Can't create TCP/IP socket (10106) when trying to connect
note: this error not shown with php artisan backup:run --only-files command
please any help!!
Please or to participate in this conversation.