fixed the msyql problem