Jump to content

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


phpinfo()

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.