sync_databases_between_mysql_installations.sh: some minor changes..
This commit is contained in:
		| @@ -301,6 +301,24 @@ if $_got_mysql_databases ; then | ||||
|       else | ||||
|          echo_failed | ||||
|          error "$(cat $tmp_err_msg)" | ||||
|  | ||||
|          echo -e " | ||||
|  | ||||
|    \033[33mcommand was:\033[m | ||||
|    \033[1m${mysqldump_exe} ${mysql_source_credential_args} $_src_db 2> /dev/null \\ | ||||
|       | ${mysql_target_exe} ${mysql_target_credential_args} ${_dst_db}\033[m | ||||
|  | ||||
| " | ||||
|  | ||||
|          echononl "continue anyway [yes/no]: " | ||||
|          read OK | ||||
|          OK=${OK,,} | ||||
|          while [[ "$OK" != "yes" ]] && [[  "$OK" != "no" ]] ; do | ||||
|             echononl "Wrong entry! - repeat [yes/nno]: " | ||||
|             read OK | ||||
|          done | ||||
|          [[ $OK = "yes" ]] || fatal "Abbruch durch User" | ||||
|  | ||||
|       fi | ||||
|  | ||||
|    done | ||||
|   | ||||
		Reference in New Issue
	
	Block a user