Fixing mysql