Ensure the proper generator is used with mysql