Made changes to mysql so it will work with rails