Revert "Adding MySQL compatibility."

This reverts commit b2c08a53172701faf5d34b32ba2b418a2f0b3093.
Revert "Revert "Adding MySQL compatibility.""

This reverts commit 70f11324a2951298077013b3c60df2ca9722700b.
Revert "Revert "Revert "Adding MySQL compatibility."""

This reverts commit 569dad18465e3e46cc2499cfd6b73e191c5d3830.
Undoing a premature merge.