Revert "Remove mysql extension"

This reverts commit c119a2c416cc88e8be92abb4c796cd4e7e0b4022.