Old mysql-client question
Old mysql-client question
After upgrading to PHP 5.2 and MySQL 5 a while ago I noticed that phpinfo still displays the Client API version as 4.1.22
Because everything worked fine regardless, it hasn't bothered me until a customer thought we were not running MySQL 5 after he ran phpinfo himself.
I've Googled for over an hour and the only solutions seem to be talking of recompiling which is beyond me to be honest.
Is there an easy way to update to the current mysql-client version or should I not bother?
Because everything worked fine regardless, it hasn't bothered me until a customer thought we were not running MySQL 5 after he ran phpinfo himself.
I've Googled for over an hour and the only solutions seem to be talking of recompiling which is beyond me to be honest.
Is there an easy way to update to the current mysql-client version or should I not bother?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Oh believe me, I know this one pretty well. When I first started doing PHP/MySQL packages it was when we were going from 3 to 4, I was building against the latest mysql. Needless to say the shill cries of indignation were far louder when I did that. Now I just have to put up with the occasional "zomg It says mysql 4!" message (which is in the FAQ I might add) vs. an outage caused by someone --nodeps'ing around a mysql upgrade requirement.
-
- New Forum User
- Posts: 4
- Joined: Mon Mar 07, 2005 11:18 pm
- Location: San Francisco, CA
Hi scott,
I've just run into this problem using an application built with Zend Framework (1.5.1). The script throws a PHP warning:
So, the question is, can I somehow update the PHP mysql(i) client API version to 5.0.x?
I am running:
CentOS 4.5
Plesk 8.2.0
PHP 5.2.3 (ART php-5.2.3-1)
MySQL 5.0.27 (ART mysql-5.0.27-1)
Thanks for your help, and for this invaluable resource.
I've just run into this problem using an application built with Zend Framework (1.5.1). The script throws a PHP warning:
which in itself is no big deal (warnings can be disabled). The real problem is that no data is being returned from the database after ~3 queries. I can copy/paste the exact same queries into phpMyAdmin and they work fine.Warning: mysqli_stmt::bind_result() [function.mysqli-stmt-bind-result]: Server returned unknown type 246. Probably your client library is incompatible with the server version you use!
So, the question is, can I somehow update the PHP mysql(i) client API version to 5.0.x?
I am running:
CentOS 4.5
Plesk 8.2.0
PHP 5.2.3 (ART php-5.2.3-1)
MySQL 5.0.27 (ART mysql-5.0.27-1)
Thanks for your help, and for this invaluable resource.
-
- New Forum User
- Posts: 4
- Joined: Mon Mar 07, 2005 11:18 pm
- Location: San Francisco, CA