=closes #52, mixing of mysql and mysqli