I also got this error message when running an automatic update:
The update cannot be installed because WordPress 2.9 requires MySQL
version 4.1.2 or higher. You are running version 4.0.27.
However, under phpinfo I show I am running PHP Version 5.2.11.