环境windows10+XAMPP(php7.0.9),mysql路径为D:\xampp\mysql\bin在laravel5.4的database.php中加入视频说的下面代码执行php artisan backup:run就会报错,不加就很正常(可以正常备份,发邮件通知等),就是不知道是什么原因
'dump' => [
'dump_binary_path' => 'D:/xampp/mysql/bin/', // only the path, so without `mysqldump` or `pg_dump`
'use_single_transaction',
'timeout' => 60, // 5 minute timeout
'exclude_tables' => [],
'add_extra_option' => '--extends-insert=False --complete-insert=TRUE',
]
错误的提示
···
Starting backup...
Backup failed because: Missing argument 1 for Spatie\DbDumper\DbDumper::excludeTables(), called in E:\PHP7Tutorial\composer-lesson\PVWebsite\vendor\spatie\laravel-backup\src\Tasks\Backup\DbDumperFactory.php on line 93 and defined.
[ErrorException]
fwrite(): send of 12 bytes failed with errno=10054 远程主机强迫关闭了一个现有的连接。
[ErrorException]
fwrite(): send of 6 bytes failed with errno=10054 远程主机强迫关闭了一个现有的连接。
···