nystudio107 / craft-scripts

Shell scripts to manage database backups, asset backups, file permissions, asset syncing, cache clearing, and database syncing between Craft CMS environments

Home Page:https://nystudio107.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pull_db.sh fails in certain case

atbreuer11 opened this issue · comments

Specifically, pull_db and likely other scripts fail if the remote db password begins with ">".

In that case, you'll need to quote the password command... or change the password on the db.

I would have it quoting the password by default, but I found that failed with certain versions of MySQL/MariaDB