# Does the mysql Client API Library version have to match the installed MySQL/Percona server version?

**URL:** <https://forums.percona.com/t/does-the-mysql-client-api-library-version-have-to-match-the-installed-mysql-percona-server-version/2058>\
**Category:** LAMP Stack\
**Created:** [November 12, 2012, 10:05pm UTC](https://forums.percona.com/t/does-the-mysql-client-api-library-version-have-to-match-the-installed-mysql-percona-server-version/2058 "2012-11-12T22:05:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wwjamieson3](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@wwjamieson3](https://forums.percona.com/u/wwjamieson3)\
**Post date:** [November 12, 2012, 10:05pm UTC](https://forums.percona.com/t/does-the-mysql-client-api-library-version-have-to-match-the-installed-mysql-percona-server-version/2058/1 "2012-11-12T22:05:46Z")

</div>

I’m running Scientific Linux 6.3 (binary compaible with Redhat/CentOS/etc…) as a LAMP stack.

I’ve installed Percona server and client v5.5 from the Percona yum repository. However when I run phpinfo() I notice that under the MySQL and mysqli sections, it lists the Client API Library version as 5.1.66, and not 5.5x.

I’m guessing these need to match, at least to major versions, and I have no idea what the possible consequences of such a mismatch could be.

Do I need to revert to Percona server and client v5.1?

This is for a production environment so it needs to be right. I’d appreciate any input or experience people could offer.

(Note I will also be cross posting this on server fault as I need answers promptly)

---

<div class="post-metadata">

**Author:** ![percona.jayj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/percona.jayj/32/927_2.png) [@percona.jayj](https://forums.percona.com/u/percona.jayj)\
**Post date:** [July 4, 2013, 1:22pm UTC](https://forums.percona.com/t/does-the-mysql-client-api-library-version-have-to-match-the-installed-mysql-percona-server-version/2058/2 "2013-07-04T13:22:36Z")

</div>

It’s likely your php mysql client build that’s using an old lib, but you shouldn’t have to run a newer version.
