Not the answer you need?
Register and ask your own question!

pt-online-schema-change fails?

vicaryvicary EntrantInactive User Role Beginner
I am trying with your tool pt-online-schema-change, but it fails to compile at line 3641.

I tried to create an index with it, here is a copy of the error message.
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./pt-online-schema-change line 3641.
BEGIN failed--compilation aborted at ./pt-online-schema-change line 3641.

Am I missing anything? Like perl modules?

Comments

  • mirfanmirfan Database Administrator Inactive User Role Beginner
    Look likes you are missing Time-HiRes module. If you are on RHEL/CentOS box install it first as follows and retry.

    $ yum install Time-HiRes
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.