The API is solely used to read from and write to your account. What
you do with that data on your side, such as storing it in mysql, is
then up to you. Write-ups #3 and #4 here may help you determine how
you need to put things together.
http://www.mailchimp.com/api/how-to/
jesse