modmore / Gitify

Command line toolkit to make managing a MODX site in git a lot easier.
MIT License
122 stars 55 forks source link

sh: mysqldump: command not found #220

Closed Lefthandmedia closed 6 years ago

Lefthandmedia commented 6 years ago

Summary

Installed Gitify on existing project, ran Gitify init

Step to reproduce

I wouldn't know how to reproduce

Observed behavior

After running backup i get this. Brecker:dist ralph$ Gitify backup Writing database backup to 2017-12-15T133517+0000.sql... sh: mysqldump: command not found

Expected behavior

To make the backup

Environment

Gitify version 0.12.0, MODX version 2.6.0, Operating System OSX, MySQL version 5.6.35, PHP version 7 , running on MAMP pro.

alroniks commented 6 years ago

You just have to install mysqldump program. Usually, it should be installed with MySQL.

alroniks commented 6 years ago

This link should help to configure your environment properly https://stackoverflow.com/questions/3268789/add-mysqldump-to-mamp-mysql-w-apache-php-on-macos-x

Lefthandmedia commented 6 years ago

Tnx that worked