Skip to content

/usr/bin/env: ‘mysqldump’: No such file or directory #13

@jasperf

Description

@jasperf

Running the script it has issues using mysqldump on my MacOs Sierra though running it from the terminal using mysqldump works just fine. Here is what I get

./sync-db-from-prod.sh
Do you solemnly swear that you have had fewer than 2 alcoholic beverages in the last hour and that you would really like to reset your development database and pull the latest from production? [y/N] y
Success: Database reset.
/usr/bin/env: ‘mysqldump’: No such file or directory
Success: Imported from 'sql-dump-production.sql'.
Error: The site you have requested is not installed.
Run `wp core install`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions