Added mysql port code
Merge pull request #2 from neilkidd/master

MySql Ported code merged