fixing table name to lower case and correcting version of mysql