Code:
UPDATE `cq_magictype` SET `auto_learn`='1', `auto_learn_prob`='10000' WHERE `type` = '3000' AND `level` = '0'
Try that and let me know if it works or not. I personally don't remember changing the auto_learn_prob myself but it is set like that for the skills that i have for auto learn set on.