Create object after setting parameters

Plugin didn't work. Not passwd by Reference?
Merge pull request #7 from tatsuru/fix-mysql-plugin

Create object after setting parameters