GET 24/7 LIVE HELP NOW

Announcement

Announcement Module
Collapse
No announcement yet.

innobackupex backup mysql perl-DBD

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

  • innobackupex backup mysql perl-DBD

    [root@mysql2 percona-xtrabackup-2.1.9]# innobackupex --user=root --password=root123 --port=3310 --host=127.0.0.1 --defaults-file=/mysql/3310/my.cnf --database=test /mysql/backup

    InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
    and Percona LLC and/or its affiliates 2009-2013. All Rights Reserved.

    This software is published under
    the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.

    Get the latest version of Percona XtraBackup, documentation, and help resources:
    http://www.percona.com/xb/redhatenterpriseserver

    140709 16:08:45 innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_file=/mysql/3310/my.cnf;mysql_read_default_group=xtrabackup;host=12 7.0.0.1;port=3310' as 'root' (using password: YES).
    innobackupex: Error: Failed to connect to MySQL server as DBD::mysql module is not installed at /usr/local/bin/innobackupex line 2956.

    os:Red Hat Enterprise Linux Server release 6.4 (Santiago)
    mysql version:mysql Ver 14.14 Distrib 5.6.19, for Linux (x86_64)
    [root@mysql2 percona-xtrabackup-2.1.9]# rpm -qa|grep perl-DB*
    perl-DBD-MySQL-4.013-3.el6.x86_64
    perl-DBIx-Simple-1.32-3.el6.noarch
    perl-DBD-Pg-2.15.1-4.el6_3.x86_64
    perl-DBD-SQLite-1.27-3.el6.x86_64
    perl-Digest-SHA-5.47-129.el6.x86_64
    perl-DBI-1.609-4.el6.x86_64

    can u help me

  • #2
    You need to install perl dbd package first.

    $ yum install perl-DBD-MySQL

    Comment

    Working...
    X