I need to increase the timeout
of MySQL
to execute a dump
processing of the bank.
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'dump_command_timeout' => 60 * 20, // 5 minute timeout
'dump_using_single_transaction' => true,
'prefix' => '',
'strict' => true,
'engine' => null,
],
I'm using dump_command_timeout
package% spatie / laravel-backup , but it does not work since the server falls into 60 seconds . I researched and found nothing about it.
Does anyone know how to configure database.php
?