The problem is only exists with Percona-Server-shared-compat installed.
rm -rf /tmp/percona-version-check
LD_PRELOAD=/usr/lib64/libmysqlclient.so.15 innobackupex --version-check .
140108 04:52:13 innobackupex: Connected to MySQL server
140108 04:52:13 innobackupex: Executing a version check against the server...
Segmentation fault (core dumped)
The problem is only exists with Percona- Server- shared- compat installed.
rm -rf /tmp/percona- version- check
LD_PRELOAD= /usr/lib64/ libmysqlclient. so.15 innobackupex --version-check .
140108 04:52:13 innobackupex: Connected to MySQL server
140108 04:52:13 innobackupex: Executing a version check against the server...
Segmentation fault (core dumped)
But, so.15 from: http:// mirror. logol.ru/ centos/ 5.10/os/ x86_64/ /CentOS/ mysql-5. 0.95-5. el5_9.x86_ 64.rpm 0.95-5. el5_9.x86_ 64.rpm | cpio -ivd ./usr/lib64/ mysql/libmysqlc lient.so. 15.0.0 ./usr/lib64/ mysql/libmysqlc lient.so. 15.0.0 innobackupex --version-check .
I have downloaded libmysqlclient.
rpm2cpio mysql-5.
LD_PRELOAD=
140108 04:58:29 innobackupex: completed OK!
The issue and workaround also affects other scripts using SSL and mysqlclient, e.g. pt-agent