Skip to content

'"mysqldump"' n’est pas reconnu en tant que commande interne ou externe #1257

Discussion options

You must be logged in to vote

I had same problem. Using MariaDb probably. make sure to add the dump part between port and username (it can be anywhere inside the mysql config part in the database.php file. Make sure you replace my binary_path by yours

  'port' => env('DB_PORT', '3306'),
        'dump' => [
            'dump_binary_path' => 'C:\\Program Files\\MariaDB 10.5\\bin\\', // only the path, so without `mysqldump` or `pg_dump`
            'use_single_transaction',
            'timeout' => 60 * 5, // 5 minute timeout
        ],      'database' => env('DB_DATABASE', 'forge'),
        'username' => env('DB_USERNAME', 'forge'),

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MedRiadhKhalfallah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1252 on March 10, 2021 19:15.