Fix switch cases and add basic, but broke, mysql commands