Fix bug detecting correct completion of new item creation.
Improved logging in mySQL service.
Merge pull request #664 from cdjackson/mysql-bugfix

Mysql bugfix