mysqldump: command not found XAMPP
转自:http://stackoverflow.com/questions/22786583/mysqldump-command-not-found-xampp
I'm trying to use a script in grunt and node to dump a database. When I run It return me this error:
I have already contacted the creator of the script and we have understand that the problem is the configuration of my localhost. I'm using XAMPP 1.8.2-3 in OSX How can I use correctly Thanks |
|||
Try:
Then run your script. So you don't have to do this in the future, check your
Just add your XAMPP path to it:
The different directories are separated by colons only, don't add any whitespace. |
mysqldump
binary path in.bashrc
or.profile
.. other way is: you can also can try to execute./mysqldump
from yourmysql/bin
directory (can't remember to pinpoint the "exact" path, I hope you know it).. – Yohanes Khosiawan 许先汉 Apr 1 '14 at 12:59source ~/.bashrc
, it's to reload the.bashrc
content again.. – Yohanes Khosiawan 许先汉 Apr 1 '14 at 13:10