Major Fixes with MySQL