Error in clearing relay logs during MHA Installation

Source: Internet
Author: User
Tags install perl

Error in clearing relay logs during MHA Installation

[[Email protected] ~] #/Usr/bin/purge_relay_logs -- user = root -- Password = 123456-disable_relay_log_purge -- Port = 3306 -- workdir =/opt/MySQL/data/
2014-08-27 09: 19: 30: purge_relay_logs script started.
Install_driver (MySQL) failed: can't locate DBD/MySQL. pm IN @ INC (@ INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/usr/lib/perl5/site_perl/5.8.8/usr/lib/perl5/site_perl/usr/lib64/perl5/vendor_perl/5.8.8 /x86_64-linux-thread-multi/usr/lib/perl5/vendor_perl/5.8.8/usr/lib/perl5/vendor_perl/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/usr/lib/perl5/5.8.8 .) at (eval 6) Line 3.
Perhaps the DBD: MySQL Perl module hasn' t been fully installed,
Or perhaps the capitalization of 'mysql' isn' t right.
Available drivers: dBm, examplep, file, gofer, proxy, sponge.
At/usr/bin/purge_relay_logs line 162

Solve the preceding error Yum-y install Perl-DBD-mysql ncftp.

This article is from the blog, please be sure to keep this source http://jxzhfei.blog.51cto.com/1382161/1545487

Error in clearing relay logs during MHA Installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.