Creates a mysql resource and corrects the code resource.
Merge pull request #106 from cyberswat/3.x

Creates a mysql resource and corrects the code resource.