now actually works with mysql and doesnt error yay python