Laravel-backup: ''mysqldump'' is not recognized as an internal or external command, operable program or batch file.

Created on 17 Oct 2016  路  5Comments  路  Source: spatie/laravel-backup

''mysqldump'' is not recognized as an internal or external command, operable program or batch file.

sir, what might be the problem?

Most helpful comment

Hello,

you can go to the installation path in C: .,
I just used as below.,

C:> cd C:Program FilesMySQLMySQL Server 5.7bin

after this execute with Mysqldump

this works...

All 5 comments

This package is not compatible with Windows servers.

馃槩

Hello,

you can go to the installation path in C: .,
I just used as below.,

C:> cd C:Program FilesMySQLMySQL Server 5.7bin

after this execute with Mysqldump

this works...

i have same problem is there any help ??

Hey guys if you are using windows like mine windows 10.
I am currently using XAMPP
steps

  1. right click my computer icon
  2. select "Properties"
  3. select "Advance system settings"
  4. select "Environment Variables" lower right
  5. Select "NEW" Take note this is for the upper one. Because you can see 2 New Button. So better Select the upper part.
  6. Variable Name Add "Path"
  7. Variable Value will be location of mysql bin in my side since I used XAMPP " C:xamppmysqlbin"
  8. Select OK, OK, OK until you finished
  9. Disclaimer if you install mysql community or whatever you install. Just find the path for mysql/bin to any in your directory.
  10. close all command console/git console then open again to test it type mysqldump if there are still error , Restart your computer.
  11. Your welcome Happy coding
Was this page helpful?
0 / 5 - 0 ratings

Related issues

n0n0n0n0 picture n0n0n0n0  路  5Comments

chris-faulkner picture chris-faulkner  路  3Comments

eelcol picture eelcol  路  7Comments

rylxes picture rylxes  路  5Comments

scottconnerly picture scottconnerly  路  4Comments