# Failed to connect to MySQL server as DBD::mysql module is not installed

**URL:** <https://forums.percona.com/t/failed-to-connect-to-mysql-server-as-dbd-mysql-module-is-not-installed/4613>\
**Category:** Percona XtraBackup\
**Created:** [December 17, 2015, 11:28am UTC](https://forums.percona.com/t/failed-to-connect-to-mysql-server-as-dbd-mysql-module-is-not-installed/4613 "2015-12-17T11:28:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandy27](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@sandy27](https://forums.percona.com/u/sandy27)\
**Post date:** [December 17, 2015, 11:28am UTC](https://forums.percona.com/t/failed-to-connect-to-mysql-server-as-dbd-mysql-module-is-not-installed/4613/1 "2015-12-17T11:28:02Z")

</div>

innobackupex: Error: Failed to connect to MySQL server as DBD::mysql module is not installed at /usr/bin/innobackupex line 3006.

Hi Guys,

we are using innobackupex for daily backups in our production servers, last few days onwards i am facing problem with innobackupex .please find the below error.can any one help me on this what is the issue?

Thanks in advance .

[B][COLOR=#FF0000]ERROR : 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:  
[url][Percona XtraBackup - MySQL Database Backup Software](http://www.percona.com/xb/p%5B/url%5D)

151217 00:01:01 innobackupex: Executing a version check against the server…  
151217 00:01:01 innobackupex: Connecting to MySQL server with DSN ‘dbi:mysql:;mysql\_read\_default\_group=xtrabackup;host=127.0.0.1;port=3306’ as ‘root’ (using password: YES).  
innobackupex: got a fatal error with the following stacktrace: at /usr/bin/innobackupex line 3006  
main::mysql\_connect(‘abort\_on\_error’, 1) called at /usr/bin/innobackupex line 1551  
innobackupex: Error: Failed to connect to MySQL server as DBD::mysql module is not installed at /usr/bin/innobackupex line 3006.  
151217 00:01:01 innobackupex: Connecting to MySQL server with DSN ‘dbi:mysql:;mysql\_read\_default\_group=xtrabackup;host=127.0.0.1;port=3306’ as ‘root’ (using password: YES).  
innobackupex: got a fatal error with the following stacktrace: at /usr/bin/innobackupex line 3006  
main::mysql\_connect(‘abort\_on\_error’, 1) called at /usr/bin/innobackupex line 1570  
innobackupex: Error: Failed to connect to MySQL server as DBD::mysql module is not installed at /usr/bin/innobackupex line 3006.[/B]

---

<div class="post-metadata">

**Author:** ![sandy27](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@sandy27](https://forums.percona.com/u/sandy27)\
**Post date:** [December 17, 2015, 11:29am UTC](https://forums.percona.com/t/failed-to-connect-to-mysql-server-as-dbd-mysql-module-is-not-installed/4613/2 "2015-12-17T11:29:25Z")

</div>

please find the server version :

Server version: 5.6.26-74.0-56-log Percona XtraDB Cluster (GPL), Release rel74.0, Revision 1, WSREP version 25.12, wsrep\_25.12

---

<div class="post-metadata">

**Author:** ![jrivera](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jrivera/32/13_2.png) [@jrivera](https://forums.percona.com/u/jrivera)\
**Post date:** [December 20, 2015, 2:44am UTC](https://forums.percona.com/t/failed-to-connect-to-mysql-server-as-dbd-mysql-module-is-not-installed/4613/3 "2015-12-20T02:44:09Z")

</div>

DBD::mysql module is not installed

Please check if you have perl-DBD-MySQL package installed if it is check if you have the same issue as this [url][http://dotmanila.com/2014/01/xtrabackup-complains-of-missing-perl-dbd-mysql/[/url]](http://dotmanila.com/2014/01/xtrabackup-complains-of-missing-perl-dbd-mysql/%5B/url%5D)
