GET 24/7 LIVE HELP NOW

Announcement

Announcement Module
Collapse
No announcement yet.

pt-online-schema-change fails?

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • pt-online-schema-change fails?

    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?

  • #2
    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

    Comment

    Working...
    X