Fix MySQL error

Now the door works :)