General error : The system cannot find the path specified. #1542
Replies: 2 comments 4 replies
-
It is innescessary, it is automatic
put mysql bin on And the config that you wrote is different to the image, |
Beta Was this translation helpful? Give feedback.
-
oh sorry , can you tell me which part should i delete ? this is my first time to use spatie for backup . and regarding to the path , is there a way to know the correct path location ? like execure some file in cmd . thanks for the reply and your patient to answer my question. |
Beta Was this translation helpful? Give feedback.
-
I have trying to use this package for my laravel project to backup the database .
Database:mysql
LARAVEL Version: 8
The things is do is
its like this
'mysql' => [
'driver' => 'mysql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
'dump' => [
'dump_binary_path' => 'D:\xampp\mysql\bin/', // only the path, so without
mysqldump
orpg_dump
'use_single_transaction',
'timeout' => 60 * 5, // 5 minute timeout
but i got the following erros here : Backup failed because: The dump process failed with exitcode 1 : General error : The system cannot find the path specified.
Can anyone give me a help, im been struggling with this for 3 days
Beta Was this translation helpful? Give feedback.
All reactions