Update to work on Mac MySql