php - 'mysqldump' is not recognized as an internal or external command -
currently im trying make backup , restore mysql database in laravel project. using laravel package https://github.com/backup-manager/laravel backup package. follow intructions, when trying backup local database through command line (php artisan db:backup) in last question, got message.
dumping database , uploading... [backupmanager\shellprocessing\shellprocessfailed] 'mysqldump' not recognized internal or external command, operable program or batch file.
i googling it, , put c:\xampp\mysql\bin windows env variables paths, still having issue. if know how fix this, please tell me, appreciate it.
laravel 5.1.x
it because mysqldump.exe not found in location, right path given bellow
- open command prompt , type
cd c:\program files (x86)\mysql\mysql server 5.5\bin
press enter
then type
mysqldump.exe
or,
directly open directory "c:\program files (x86)\mysql\mysql server 5.5\bin" , press left shift key keyboard , right click on directory window. type
mysqldump.exe
it work 100% correctly
Comments
Post a Comment