mysqldump Warning: Using a password on the command line (automysqlbackup)

Вставляем после 115 строки, после removeIO

# Remove annoying warning message since MySQL 5.6
if [[ -s "$log_errfile" ]]; then
sedtmpfile="/tmp/$(basename $0).$$.tmp"
grep -v "Warning: Using a password on the command line interface can be insecure." "$log_errfile" > $sedtmpfile
mv $sedtmpfile $log_errfile
fi

 

Без рубрики

Related Articles

0 Comment

Leave a Comment

Ваш адрес email не будет опубликован.