# How to install Percona ProxySQL alongside PXC 8.4 client?

**URL:** <https://forums.percona.com/t/how-to-install-percona-proxysql-alongside-pxc-8-4-client/38418>\
**Category:** Percona XtraDB Cluster 8.x\
**Created:** [June 24, 2025, 1:38pm UTC](https://forums.percona.com/t/how-to-install-percona-proxysql-alongside-pxc-8-4-client/38418 "2025-06-24T13:38:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bitone](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bitone](https://forums.percona.com/u/bitone)\
**Post date:** [June 24, 2025, 1:38pm UTC](https://forums.percona.com/t/how-to-install-percona-proxysql-alongside-pxc-8-4-client/38418/1 "2025-06-24T13:38:52Z")

</div>

Hi there,

We run the latest PXC cluster 8.4 (not PRO) on three nodes, no issues there.

But on a client node, what exactly are the steps to install ProxySQL with the latest PXC client tools?

The [ProxSQL documentation tells me](https://docs.percona.com/percona-xtradb-cluster/8.4/load-balance-proxysql.html) to install Percona-XtraDB-Cluster-client-80 (on Redhat).

So I can’t install ProxySQL alongside Percona-XtraDB-Cluster-client 8.4?

Using `percona-release` I can setup _proxysql_ OR _pxc-84-lts_, but not both at the same time…

Cheers  
Till

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [June 24, 2025, 3:27pm UTC](https://forums.percona.com/t/how-to-install-percona-proxysql-alongside-pxc-8-4-client/38418/2 "2025-06-24T15:27:04Z")

</div>

Hi @bitone,  
You can install the 8.4 client. You just need any MySQL client to be able to connect to the admin interface of ProxySQL. With `percona-release` use the `enable` subcommand rather than `setup`.

---

<div class="post-metadata">

**Author:** ![bitone](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bitone](https://forums.percona.com/u/bitone)\
**Post date:** [June 24, 2025, 3:45pm UTC](https://forums.percona.com/t/how-to-install-percona-proxysql-alongside-pxc-8-4-client/38418/3 "2025-06-24T15:45:02Z")

</div>

Hi @matthewb  
Thanks for your reply.

I have to admit that the command set of `percona-release` always was a bit of a mystery to me…

So, what you mean is that I can enable both, _proxysql_ **and** _pxc-84-lts_ with it?  
Ok I have to try that.

---

<div class="post-metadata">

**Author:** ![bitone](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bitone](https://forums.percona.com/u/bitone)\
**Post date:** [June 24, 2025, 4:09pm UTC](https://forums.percona.com/t/how-to-install-percona-proxysql-alongside-pxc-8-4-client/38418/4 "2025-06-24T16:09:20Z")

</div>

Hi @matthewb

Nice, that worked!

In this context I have another question: I wrote some mysql client (in C) using _libmysql_.  
RHEL 9 offers me _mariadb-connector-c-devel_, but there seems to be some issue with this library connecting to ProxySQL when using prepared statements with RO cursors…

What Percona repository and package can I install to get libmysql and the developer files?

Cheers,  
Till

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [June 24, 2025, 4:57pm UTC](https://forums.percona.com/t/how-to-install-percona-proxysql-alongside-pxc-8-4-client/38418/5 "2025-06-24T16:57:12Z")

</div>

You can get `percona-server-devel` package which has the libmysqlclient library, and other developer files.

I’d also advise against prepare statements unless you are executing the same SELECT query many thousands of times with just a parameter change. Using prepared statements for every SELECT is huge overhead. If you have many select-and-done queries, just send the query.

---

<div class="post-metadata">

**Author:** ![bitone](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bitone](https://forums.percona.com/u/bitone)\
**Post date:** [June 24, 2025, 5:07pm UTC](https://forums.percona.com/t/how-to-install-percona-proxysql-alongside-pxc-8-4-client/38418/6 "2025-06-24T17:07:16Z")

</div>

Thanks for the hint!  
Actually I’m using some pooling library (libzdb) and don’t call mysql\_xxx directly from my code..
