made procedure definer the user@localhost instead of root@%
I'm not sure why I made it root initially, but that shouldn't transfer over.
It used to transfer anyway, but it's been fixed.