Entries Published On January, 2014
XtraBackup Complains of Missing perl-DBD-MySQL
I was busy testing a PXC cluster today when suddenly was buffled with a confusing error:
1 2 |
140108 23:33:39 innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_group=xtrabackup' (using password: NO). innobackupex: Error: Failed to connect to MySQL server as DBD::mysql module is not installed at /usr/bin/innobackupex line 2913. |
OK, so my first though was DBD::mysql is missing, but as I checked:
1 2 |
[root@pxc03 keepalived]# yum list installed| grep perl-DBD-MySQL perl-DBD-MySQL.x86_64 4.013-3.el6 @base |
After some digging, it’s not actually the module that is missing – it was one of the module’s dependency which is the mysql client …