MySQL is an open source database, where can one download the source?
Click here and select Source Code from the drop-down