This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-24. For the latest, interactive version please visit https://mariadb.com/kb/.

How to match API version for php5_mysql and mariadb client?

Hello! I have recent php5 and php5_mysql installed from Ubuntu repos. When i'm running scripts connecting to DB i get "mysql_connect(): Headers and client library minor version mismatch. Headers:50149 Library:50203".

I suppose i could suppress errors but it isn't my way. But what is the correct way to fix it?

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.