Revert "Revert "Updated the regex for mysql version detection in installer. Unpredictable ftw""

This reverts commit 6890601edcc2a548ad584cc6a4868ff02ce8ef6c.