Add flag to disable mysql support
Closes #443