Set MySQL dialect options.

Should fix #2.