Entry
What does MySQL Connection Failed: Protocol mismatch mean?
Sep 21st, 1999 20:35
Nathan Wallace, Rasmus Lerdorf, Richard Lynch
The MySQL server you are connecting to is running a newer version of
MySQL than the client library compiled into your Apache/PHP setup. You
need to recompile PHP against the client library that server is using.
This usually occurs when somebody upgrades MySQL, but doesn't recompile
PHP with the new MySQL headers, or vice versa...
It's also very easy to have two copies of either package and thoroughly
confuse yourself as to which is really getting compiled into PHP, and
which is actually running.
You're probably going to need to recompile Apache/MySQL/PHP.