Issue running pt-upgrade against MySQL 5.6 and MySQL 8.0

After upgrading perl-DBD-mysql version from 4.023 (which is officially latest updated version compatible with centos7) to 4.050 it is working fine.