Jump to content

[SOLVED] Headers and client library minor version mismatch ??? - Need Help


Recommended Posts

This is a new virtual server, where I have installed LAMP.

 

When I bring up my website that is being hosted, I get this error:

 

Warning: mysql_pconnect() [function.mysql-pconnect]: Headers and client library minor version mismatch. Headers:40120 Library:50136 in

 

Any ideas of what has gone wrong? Thanks!

When I rpm -qa | grep -i '^mysql-' is shows:

 

MySQL-devel-community-5.1.36-0.rhel4

MySQL-client-community-5.1.36-0.rhel4

MySQL-shared-community-5.1.36-0.rhel4

MySQL-server-community-5.1.36-0.rhel4

 

The headers and libraries are installed. I can't figure out why I am receiving the error.

 

Is this a PHP install error? Or is it MySQL?

 

I have tried re-installing MySQL multiple times via:

 

 

rpm -qa | grep -i '^mysql-'

 

MySQL-devel-community-5.1.36-0.rhel4

MySQL-client-community-5.1.36-0.rhel4

MySQL-shared-community-5.1.36-0.rhel4

MySQL-server-community-5.1.36-0.rhel4

 

rpm --nodeps -ev MySQL-shared-community-5.1.36-0.rhel4

rpm --nodeps -ev MySQL-server-community-5.1.36-0.rhel4

rpm --nodeps -ev MySQL-client-community-5.1.36-0.rhel4

rpm --nodeps -ev MySQL-devel-community-5.1.36-0.rhel4

 

wget http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-server-community-5.1.36-0.rhel4.i386.rpm/from/http://opensource.become.com/mysql/

wget http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-client-community-5.1.36-0.rhel4.i386.rpm/from/http://opensource.become.com/mysql/

wget http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-shared-community-5.1.36-0.rhel4.i386.rpm/from/http://opensource.become.com/mysql/

wget http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-devel-community-5.1.36-0.rhel4.i386.rpm/from/http://opensource.become.com/mysql/

 

rpm -Uvh MySQL-server-community-5.1.36-0.rhel4.i386.rpm

rpm -Uvh MySQL-client-community-5.1.36-0.rhel4.i386.rpm

rpm -Uvh MySQL-shared-community-5.1.36-0.rhel4.i386.rpm

rpm -Uvh MySQL-devel-community-5.1.36-0.rhel4.i386.rpm

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.