Worked on mysql problem