How password can be prompted in percona xtrabackup
-
01-10-2020 - |
Pergunta
How password can be prompted while using percona xtrabackup.--ask-pass option is not working with xtrabackup. Thanks in advance.
Solução
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
.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a dba.stackexchange