How password can be prompted in percona xtrabackup
-
01-10-2020 - |
Question
How password can be prompted while using percona xtrabackup.--ask-pass option is not working with xtrabackup. Thanks in advance.
La solution
I donot think there is --ask-pass in xtrabackup! You might want to write a wrapper shell script which will
echo enter mysql password
read -s pw
and then pass it as --password=$pw
.
Licencié sous: CC-BY-SA avec attribution
Non affilié à dba.stackexchange