mysql-parallel
mysql-parallel copied to clipboard
Provide a password using the command line for mysqlrestorep.
I want to be able to do:
drush sql-drop -y && \
/home/vagrant/mysql-parallel/mysqlrestorep.sh user database directory && \
drush updb -y && \
drush fra -y
But due to the interactive password input that keeps running in a background tab until I remember to put a password. Having an optional password in the command line would be nice.
The problem with that is that unless you do some serious effort to rewrite your command line, other users can see the password via ps or top.
I'm open to pull requests though if you know of an easy way to solve that.
I was thinking more of an "I don't care about everyone knowing this password" kind of situation, letting the user be responsible for exposing credentials. I understand your concerns though.