# mysql\_config Sysbench Percona xtradb cluster

**URL:** <https://forums.percona.com/t/mysql-config-sysbench-percona-xtradb-cluster/2839>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [July 25, 2013, 10:06am UTC](https://forums.percona.com/t/mysql-config-sysbench-percona-xtradb-cluster/2839 "2013-07-25T10:06:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdriannaXTS](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@AdriannaXTS](https://forums.percona.com/u/AdriannaXTS)\
**Post date:** [July 25, 2013, 10:06am UTC](https://forums.percona.com/t/mysql-config-sysbench-percona-xtradb-cluster/2839/1 "2013-07-25T10:06:10Z")

</div>

Hi ;

I want to install sysbench on the node of my cluster but mysql\_config is not find during the installation.

Does someone know how to configure it?

I have installed theses packages :  
[LIST]  
[_]Percona-XtraDB-Cluster-client (archi : x86\_64 version 1:5.5.30-23.7.4.406.rhel6)  
[_]Percona-XtraDB-Cluster-server (archi : x86\_64 version 1:5.5.30-23.7.4.406.rhel6)  
[_]Percona-XtraDB-Cluster-galera (archi : x86\_64 version : 2.5-1.150.rhel6 )  
[_]Percona-XtraDB-Cluster-shared (archi : x86\_64 version 1:5.5.30-23.7.4.406.rhel6)  
[\*]percona-xtrabackup (archi : x86\_64 version 2.1.3-608.rhel6)  
[/LIST]  
And the error I have is the next one:

> [@](#):
>
> checking for sqrt in -lm… yes  
> checking for mysql\_config… no  
> configure: error: mysql\_config executable not found
> 
> * * *
> 
> ERROR: cannot find MySQL libraries. If you want to compile with MySQL support,  
> you must either specify file locations explicitly using  
> –with-mysql-includes and --with-mysql-libs options, or make sure path to  
> mysql\_config is listed in your PATH environment variable. If you want to  
> disable MySQL support, use --without-mysql option.
> 
> * * *

Thanks in advance.

A.

---

<div class="post-metadata">

**Author:** ![przemek](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/przemek/32/3_2.png) [@przemek](https://forums.percona.com/u/przemek)\
**Post date:** [July 29, 2013, 6:41am UTC](https://forums.percona.com/t/mysql-config-sysbench-percona-xtradb-cluster/2839/2 "2013-07-29T06:41:24Z")

</div>

You will find mysql\_config in Percona-XtraDB-Cluster-devel package.

---

<div class="post-metadata">

**Author:** ![AdriannaXTS](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@AdriannaXTS](https://forums.percona.com/u/AdriannaXTS)\
**Post date:** [November 5, 2013, 10:41am UTC](https://forums.percona.com/t/mysql-config-sysbench-percona-xtradb-cluster/2839/3 "2013-11-05T10:41:43Z")

</div>

Thanks à lot.
