Fix bug from copy-paste
Merge pull request #2239 from marktheunissen/nolog-mysql

Fix bug from copy-paste