Fix mysql permissions issue.

Resolves #34