Revert to MySQL workout code