The stable distro of Debian only has MySQL 4, but the project I want to host has SQL full of subqueries that will only work with MySQL 5. I'm currently running Apache2, PHP4, and MySQL 4 with no problems.

I tried installing mysql-server-5.0 and mysql-client-5.0 from the "testing" distro, but phpinfo() still says "Client API version: 4.0.24". I mightn't have done it properly though because I got all sorts of dependency problems when I started mixing stable and testing packages. It even tried to uninstall the kernel a couple of times, haha.

What packages do I need to install to get MySQL 5 working?