http://dev.mysql.com/downloads/mysql/5.0.html. Do a custom install to the default location (C:\Program Files\MySQL\MySQL Server 5.0); this allows you to request the installation of all of the developer components. The developer components are required for the MySQL provider build.
Download a Windows (x86) installer of the latest production release of MySQL 5.0 from