rpg with mysql err